Sign inSign up

asami76/docker-hoster

By asami76

Updated over 4 years ago

Image
4

1.1K

asami76/docker-hoster repository overview

Run this before running any other container
This will register the container names into the /etc/hosts file in the Docker host machine so that containers will be accessible by name
It will also delete the hosts file entries upon termination of containers
docker run -d -v /var/run/docker.sock:/tmp/docker.sock -v /etc/hosts:/tmp/hosts asami76/docker-hoster

Tag summary

Content type

Image

Digest

Size

18.1 MB

Last updated

over 4 years ago

docker pull asami76/docker-hoster