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

docker-container: ensure credentials are passed when pulling buildkit #433

Merged
merged 2 commits into from Nov 16, 2020

Conversation

tonistiigi
Copy link
Member

Anonymous pulls may get rate limited differently so make sure to send user credentials when pulling buildkit image for creating builder container.

If anyone hits this live workaround is to run docker pull moby/buildkit:buildx-stable-1 manually before docker buildx create.

@AkihiroSuda you probably want to make a similar change for kube driver.

… image

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@AkihiroSuda
Copy link
Collaborator

AkihiroSuda commented Nov 4, 2020

you probably want to make a similar change for kube driver.

We could upload ImagePullSecret from local ~/docker/config.json and associate the ImagePullSecret with our deployment.spec.podSpecTemplate.

However, I assume Kube users are highly likely to associate the default ServiceAccount in the current namespace with their pre-uploaded ImagePullSecrets, lest they will hit the limit for other DockerHub images.

So I guess we don't need to duplicate ImagePullSecret.

@tonistiigi tonistiigi merged commit 1ccf0bd into docker:master Nov 16, 2020
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.

None yet

3 participants