As of Docker version 18.03, you can use the host.docker.internal hostname to connect to your Docker host from inside a Docker container. This works fine on Docker for Mac and Docker for Windows, but…