// Configure the container options based on the host and the running entity
DockerTemplateOptions options = getDockerTemplateOptions();
// put these fields on the location so it has the info it needs to create the subnet
Map<?, ?> dockerFlags = MutableMap.<Object, Object>builder()
.put(JcloudsLocationConfig.TEMPLATE_BUILDER, new PortableTemplateBuilder().options(options))
.put(JcloudsLocationConfig.IMAGE_ID, getConfig(DOCKER_IMAGE_ID))
.put(JcloudsLocationConfig.HARDWARE_ID, getConfig(DOCKER_HARDWARE_ID))
.put(LocationConfigKeys.USER, "root")
.put(LocationConfigKeys.PASSWORD, getConfig(DOCKER_PASSWORD))
.put(SshTool.PROP_PASSWORD, getConfig(DOCKER_PASSWORD))