Automatically manage /etc/hosts entries for local docker containers
Find a file
Leo Antunes a7f3eb52f6 WIP
2018-08-19 02:06:39 +02:00
.gitignore WIP 2018-08-19 02:06:39 +02:00
.travis.yml WIP 2018-08-19 02:06:39 +02:00
docker.go WIP 2018-08-19 02:06:39 +02:00
Dockerfile WIP 2018-08-19 02:06:39 +02:00
etchosts.go WIP 2018-08-19 02:06:39 +02:00
Gopkg.lock WIP 2018-08-19 02:06:39 +02:00
Gopkg.toml WIP 2018-08-19 02:06:39 +02:00
LICENSE WIP 2018-08-19 02:06:39 +02:00
main.go WIP 2018-08-19 02:06:39 +02:00
README.md WIP 2018-08-19 02:06:39 +02:00

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.

How it works