public String toJson() {
        return createConfig.toString();
    }
Get JSON which is used for <em>creating</em> a container

@return string representation for JSON representing creating a container
src/main/java/io/fabric8/maven/docker/access/ContainerCreateConfig.java