sajad torkamani

host.docker.internal is a special DNS name in Docker that resolves to the internal IP address used by the host machine. It’s useful when you want your containers to connect to a service on the host.

It’s for development purposes only and won’t work in a production environment outside Docker Desktop.

Sources

Tagged: Docker