I am running into a block and can't seem to find the answer. I have Docker for Mac on OSX. I can build and run the containers fine. One of my containers runs a sails app that utilizes sequelize to connect to a SQL database. The database is behind the corporate VPN. I am connected to the VPN through openconnect. Outside of the container (on the host), I can run the application just fine and it connects. Inside of the container, I cannot access the VPN and get a bad connection error. I have tried restarting Docker after the VPN is connected but still cannot connect. I don't see any settings in the GUI for VPN or network handling, other than proxies. I have tried with --network="bridge" and --network="host"
This is similar to this post
Any help is greatly appreciated!