Docker Community Forums

Share and learn in the Docker community.

Access a service on host's network from a container (on Mac!)

swarm

(Amit Netanel) #1

Hello everyone.

I am trying to access a service on another machine from my container. I am developing on mac, so I can’t use network_mode host (as specified here - https://docs.docker.com/docker-for-mac/networking/#features)

What are my options? I can set up a proxy on my machine and use docker.for.mac.localhost, but this will be a big compromise.

Thansk!