Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Docker nova name = hostname


It is possible to pass a hostname to Docker upon creation of a container. However, I noticed that when booting a Docker container with openstack, the container gets assigned a hostname in the format "instance-0000002a" and the nova name has nothing to do with it.

Is it possible to implement this into the Docker nova driver so that the nova instance name also becomes the actual hostname on that instance? Having the "instance-000000..." format does not make much sense.