You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
I've been doing some testing/trial deployments with Linux containers attached to a private Azure VNet.
The containers launch and run as expected with an auto assigned private IP in the subnet's range - so far so good. The VNet has custom DNS servers set (and Windows VM's attached to a different subnet in the VNet inherit these DNS servers correctly) but none of the Linux containers inherit the custom DNS servers. Looking at the /etc/resolv.conf file I can see that the containers get a DNS server address of 168.63.129.16 with a DNS search domain of .ax.internal.cloudapp.net.
How can I get the containers to inherit the DNS server settings set at the VNet? (I am creating the container groups using az container create with a .YAML file)
Thanks
The text was updated successfully, but these errors were encountered:
I've been doing some testing/trial deployments with Linux containers attached to a private Azure VNet.
The containers launch and run as expected with an auto assigned private IP in the subnet's range - so far so good. The VNet has custom DNS servers set (and Windows VM's attached to a different subnet in the VNet inherit these DNS servers correctly) but none of the Linux containers inherit the custom DNS servers. Looking at the /etc/resolv.conf file I can see that the containers get a DNS server address of 168.63.129.16 with a DNS search domain of .ax.internal.cloudapp.net.
How can I get the containers to inherit the DNS server settings set at the VNet? (I am creating the container groups using az container create with a .YAML file)
Thanks
The text was updated successfully, but these errors were encountered: