docker container connect to host localhost code example
Example 1: docker access host localhost
host.docker.internal
Example 2: docker container connect to localhost database
connect to "host.docker.internal" instead "localhost"
host.docker.internal
connect to "host.docker.internal" instead "localhost"