Automatically manage /etc/hosts entries for local docker containers
Find a file
2018-08-22 00:09:55 +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 add acutal etchosts syncing 2018-08-22 00:09:55 +02:00
Dockerfile WIP 2018-08-19 02:06:39 +02:00
etchosts.go add acutal etchosts syncing 2018-08-22 00:09:55 +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 add acutal etchosts syncing 2018-08-22 00:09:55 +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