* Create a new {@link DockerHostLocation} wrapping the machine we are starting in.
*/
@Override
public DockerHostLocation createLocation(Map<String, ?> flags) {
DockerInfrastructure infrastructure = getConfig(DOCKER_INFRASTRUCTURE);
DockerLocation docker = infrastructure.getDynamicLocation();
String locationName = docker.getId() + "-" + getDockerHostName();
String locationSpec = String.format(DockerResolver.DOCKER_HOST_MACHINE_SPEC, infrastructure.getId(), getId()) + String.format(":(name=\"%s\")", locationName);
setAttribute(LOCATION_SPEC, locationSpec);
final LocationDefinition definition = new BasicLocationDefinition(locationName, locationSpec, flags);