mirror of
https://github.com/costela/docker-etchosts.git
synced 2025-05-10 17:35:41 +02:00
Automatically manage /etc/hosts entries for local docker containers
.dockerignore | ||
.gitignore | ||
.travis.yml | ||
docker.go | ||
docker_test.go | ||
Dockerfile | ||
etchosts.go | ||
etchosts_test.go | ||
Gopkg.lock | ||
Gopkg.toml | ||
LICENSE | ||
main.go | ||
README.md |
docker-etchosts
Automatically manages entries in /etc/hosts
for local docker containers.
Usage
To enable
NOTE: to avoid overwriting unrelated settings, docker-etchosts
will not touch entries not created by itself. If
you already manually created hosts entries for containers, you should remove them so that docker-etchosts
can take
over management.