Automatically manage /etc/hosts entries for local docker containers
Find a file
2018-08-25 13:25:47 +02:00
.dockerignore add complete dockerfile 2018-08-23 00:23:47 +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 skip "bridge" and "none" nets; add some tests 2018-08-25 13:25:47 +02:00
docker_test.go skip "bridge" and "none" nets; add some tests 2018-08-25 13:25:47 +02:00
Dockerfile add complete dockerfile 2018-08-23 00:23:47 +02:00
etchosts.go pass config around instead of using as global 2018-08-25 12:31:08 +02:00
Gopkg.lock add some configuration with envconfig 2018-08-22 00:09:01 +02:00
Gopkg.toml add some configuration with envconfig 2018-08-22 00:09:01 +02:00
LICENSE WIP 2018-08-19 02:06:39 +02:00
main.go pass config around instead of using as global 2018-08-25 12:31:08 +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