- https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
- Use
--network="host"
in yourdocker run
command, then127.0.0.1
(orlocalhost
) in your docker container will point to your docker host.
- Use