@Override
public void initApp() {
EntitySpec dockerSpec = EntitySpec.create(DockerHost.class)
.configure(SoftwareProcess.START_TIMEOUT, Duration.minutes(15));
BreadthFirstPlacementStrategy strategy = new BreadthFirstPlacementStrategy();
strategy.injectManagementContext(getManagementContext());
strategy.setConfig(BreadthFirstPlacementStrategy.DOCKER_CONTAINER_CLUSTER_MAX_SIZE, getConfig(DOCKER_CONTAINER_CLUSTER_MAX_SIZE));
addChild(EntitySpec.create(DockerInfrastructure.class)
.configure(DockerInfrastructure.DOCKER_VERSION, getConfig(DOCKER_VERSION))
.configure(DockerInfrastructure.SECURITY_GROUP, getConfig(SECURITY_GROUP))
.configure(DockerInfrastructure.OPEN_IPTABLES, true)