Connecting to local network

Hi guys,

I’m having a hard time trying to connect to my local network from a container. The case: I run a small gitlab server on and now I need to reach it because I need to download php packages using composer from inside one of my containers running in my mac (

The question is: What should I do to access the gitlab running on. from any container running on my machine?

Docker Version 18.03.1-ce-mac65 (24312)
macOS High Sierra 10.13.5

Thank you.

So my workaround was: reverse proxy on top of nginx on host machine.