Skip to content

executor: allow setting DNSConfig to be used by resolvconf#1040

Merged
tonistiigi merged 1 commit intomoby:masterfrom
tiborvass:pass-dns-to-resolvconf
Jun 18, 2019
Merged

executor: allow setting DNSConfig to be used by resolvconf#1040
tonistiigi merged 1 commit intomoby:masterfrom
tiborvass:pass-dns-to-resolvconf

Conversation

@tiborvass
Copy link
Copy Markdown
Collaborator

This patch allows downstream code to pass a DNSConfig that is
then used by executor/oci.GetResolvConf.

This would allow the BuildKit-based builder in Docker to honor
the docker daemon's DNS configuration, thus fixing a feature gap
with the legacy builder.

Signed-off-by: Tibor Vass tibor@docker.com

@tonistiigi
Copy link
Copy Markdown
Member

Can you add this to the TOML config and add an integration test. Could be follow-up.

@tonistiigi
Copy link
Copy Markdown
Member

@tiborvass needs rebase

@tiborvass tiborvass force-pushed the pass-dns-to-resolvconf branch from ae4d8a6 to af24bf6 Compare June 17, 2019 17:56
This patch allows downstream code to pass a DNSConfig that is
then used by executor/oci.GetResolvConf.

This would allow the BuildKit-based builder in Docker to honor
the docker daemon's DNS configuration, thus fixing a feature gap
with the legacy builder.

Signed-off-by: Tibor Vass <tibor@docker.com>
@tiborvass tiborvass force-pushed the pass-dns-to-resolvconf branch from af24bf6 to 8e69250 Compare June 17, 2019 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants