Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Add docker-in-docker Azure DNS override flag #1650

Merged
merged 5 commits into from
Oct 6, 2022
Merged

Add docker-in-docker Azure DNS override flag #1650

merged 5 commits into from
Oct 6, 2022

Conversation

kklopfenstein
Copy link
Contributor

By default the docker-in-docker script passes an Azure specific IP address to dockerd that causes Docker not to use the devcontainer's resolv.conf settings. We would like to not override DNS within Docker in some situations.

This PR adds a new AZURE_DNS_OVERRIDE flag that will give us the ability to disable this Azure DNS setting.

Copy link
Member

@joshspicer joshspicer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for improving our scripts!

As @samruddhikhandale mentioned, it would be great to additionally put up a PR on the associated Feature, as we have deprecated these scripts in favor of the new Features repo. The script in the Features repo should be nearly identical.

In the Features repo, you'd want to update both the install script and add in a new AzureDnsOverride option so that we can surface this flag in tooling

@joshspicer joshspicer merged commit 5be0c5f into microsoft:main Oct 6, 2022
@kklopfenstein kklopfenstein deleted the kklopfenstein/add-docker-azure-dns-flag branch October 6, 2022 17:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants