Coder.comC
Coder.com4y ago
17 replies
Deleted User

Docker in Docker setup, reach services in outer docker network

Hi there, relatively new to Coder. I'm running Coder as a service in my Docker Swarm. Alongside Coder I also host a database I want to use for testing purposes. How do I connect to this database (that's running in the same network as the coder server) from my workspace?
I can connect to databases that are publicly accessible through the internet and I can connect to databases hosted within my workspace container, but I can't figure out how to access services running on the "outer" docker network.
Was this page helpful?