Docker DNS is a python application you can use to
identify your containers by hostname or name.
You can run it with behind dnsmasq using the instructions
#sudo twistd dockerdns -u http://docker-server:5000 -p 53 # host mycontainer.docker # by container-name or hostname 172.17.0.12 # host mymage.*.docker # all container from a given image 172.17.0.12 172.17.0.13
Using twisted conch, I added sftp functionalities too, so you can access your container volumes directly.
#sftp -P10022 mycontainer@docker-server sftp$ ls / shared_volume1 shared_volume2