Registrator Docker Image
852
This container attempts to find the correct ip of the host before starting registrator. It also allows you to override the shell script thats run in order for you to override it per environment.
hostip=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
$ docker run -d \
--net=host \
--volume=/var/run/docker.sock:/tmp/docker.sock \
-e CONSUL_HOST=consul://localhost:8500 \
ajagnanan/docker-registrator
Content type
Image
Digest
sha256:b3ac9f655…
Size
5.6 MB
Last updated
almost 11 years ago
docker pull ajagnanan/docker-registrator