private String resolveHostAddress(String host) {
        if (HOST_GATEWAY.equalsIgnoreCase(host)) {
            return host;
        }
        try {
            return InetAddress.getByName(host).getHostAddress();
        } catch (UnknownHostException e) {
            throw new IllegalArgumentException("unable to resolve ip address for " + host, e);
        }
    }
Get JSON which is used for <em>starting</em> a container

@return string representation for JSON representing the configuration for starting a container
src/main/java/io/fabric8/maven/docker/access/ContainerHostConfig.java