Easy way to connect Docker to localhost

To connect Docker to localhost, running Docker for Windows or Docker for Mac, you can use the special DNS name host.docker.internal which resolves to the internal IP address used by the host. Within your container, all you need to do to access the localhost is point your request to http://host.docker.internal:<port> This will not work in […]

Scroll to top