I have created a docker machine using hyper-v as follows:
docker-machine create --driver hyperv --hyperv-virtual-switch ““my switch”” ““manager””
I then setup a swarm:
docker swarm init --advertise-addr IPADDRESS
Lastly, I installed a .net core service on the swarm that runs a restful web api. The restful web api needs to pull data from a database that is on a server on my host network. I can access the endpoint of the web api, but it generates an error that it can’t connect to the database.
How do I configure the docker-machine to be able to access the server on my host network?