问题
I have VM with virtual network, let's say "VN1" and I need to connect from my docker container to that VM in Windows in Azure for Azure Container Instance. The proper way is that I need to create new l2bridge network:
docker network create -d "l2bridge" --subnet 10.244.0.0/24 --gateway 10.244.0.1
-o com.docker.network.windowsshim.vlanid=7
-o com.docker.network.windowsshim.dnsservers="10.244.0.7" my_transparent
How I could determine these values in Azure: subnet: gateway: DNS Server: VLANID: because I did not conifgure any of those previously once my VM has been created (only the name of Virtual Network) but now I need to re-use those in this kind of setup for l2 network driver?
Thank you!!!
来源:https://stackoverflow.com/questions/65790006/docker-network-l2bridge-how-to-determine-values-for-subnet-gateway-dns-se