Access Host From Inside a Docker Container

This is more a bookmark than a post - but I’d like to write it down explicitly since everytime I need this I have to google it (and cutting through the false positivies sucks). From 18.03 onwards our recommendation is to connect to the special DNS name host.docker.internal, which resolves to the internal IP address used by the host. This was taken from the docker-for-mac documentation were you can find more details....

January 1, 2020 · 1 min · schoeffm