docker / docker/buildx

buildx dns error when push to a local repo

Open
#443 8 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
4.5k
Forks
682
Avg merge
2d 14h
Merged PRs (30d)
29

Description

my local repo has 2 way to access: a public network and a local network
i has force my dns to access the domain to local network address, and i had add "--driver-opt network=host" when create the builder
i can see it's working very well when pulling the base image (using the rignt dns server on local network)
but when i push it to repo, i can see it still use a very slow connection(the public one)!
i think it means it might be use an error dns result from public dns , and the local dns setting was not work

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no files, tests, or code entry points. Start by reproducing the push with the builder configured using --driver-opt network=host, then compare DNS and network selection for pulling the base image and pushing to the local repository; done means the push uses the intended local network path.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
build-system, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.