dotcloud/docker-py — pull request #172 by jdeppe-pivotal (2014-03-10 14:55:28+00:00)
Title: Support 'Domainname' in container creation

When using the docker's cli, `docker run -h foo.bar.com` will create a container with a host name of `foo` and a domain name of `bar.com`. This currently doesn't seem to be possible with docker-py.

I don't know if the `domainname` attribute is version specific and if this patch would break backwards compatibility.