Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images: Create simple /etc/nsswitch.conf file #1819

Merged
merged 1 commit into from
Nov 20, 2020

Conversation

andreabolognani
Copy link
Contributor

This is a workaround for golang/go#35305 which makes it possible to successfully push to a local registry using

$ docker buildx build --push --tag localhost:5000/foo .

assuming, of course, that the builder instance currently in use has been created using

$ docker buildx create --driver-opt network=host

The workaround is no longer going to be necessary once Go 1.16 is used for builds.

This is a workaround for

  golang/go#35305

which makes it possible to successfully push to a local registry
using

  $ docker buildx build --push --tag localhost:5000/foo .

assuming, of course, that the builder instance currently in use
has been created using

  $ docker buildx create --driver-opt network=host

The workaround is no longer going to be necessary once Go 1.16
is used for builds.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
@tonistiigi tonistiigi merged commit 0caddb1 into moby:master Nov 20, 2020
@andreabolognani andreabolognani deleted the nsswitch branch November 20, 2020 16:44
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