Docker Community Forums

Share and learn in the Docker community.

Lookup for "docker" not working


(Afischer211) #1

I can access to running docker-containers on ip-address 10.0.75.2, also from other containers on the same windows-system.
But if I want to access over the name/alias “docker”, the resolving is not working always.
Inside web-browser all is working, also “ping docker” on cmd-shell. If I want to use the alias “docker” for docker-compose (e.g. for communication between different containers or for the logger-driver with gelf), the name-resolving is not working.
I get the error-message:
Failed to initialize logging driver: gelf: cannot connect to GELF endpoint: docker:12201 dial udp: lookup docker on 192.168.65.1:53: no such host

When can I use the alias “docker” for accessing to the container/mobylinux?