Connecting to a host service from within a container using Docker for Mac 1 minute read Use host.docker.internal to connect to your host machine.