I am trying to connect my docker container to a remote SQL Server DB. My container is running an instance of a cf2016 image. The remote server only allows traffic from a our work network. I can connect to the db locally from my machine but when I try from docker instance the connection is refused. I don’t know enough about docker to understand how it works but i assumed any traffic out would be via my network so the connection should be find.
I can’t figure out why it’s not connecting.