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

moby image: add docker.io container registry #314

Closed
wants to merge 1 commit into from

Conversation

Frankkkkk
Copy link

Hi,
In docker, the container registry is supposed to be docker.io, but it can be others or even be undefined in other container runtimes (e.g. podman).
Thanks!

In docker, the container registry is supposed to be `docker.io`, but it
can be others or even be undefined in other container runtimes (e.g.
podman).

Signed-off-by: Frank Villaro-Dixon <[email protected]>
Copy link
Member

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

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

This is used through Docker, Inc products so this is not necessary outside this scope for other tools such as Podman.

Closing this but let us know if you have a reproducible case. Thanks.

@crazy-max crazy-max closed this Apr 12, 2024
@Frankkkkk
Copy link
Author

Frankkkkk commented Apr 12, 2024 via email

@crazy-max
Copy link
Member

I understand your reticence as it could concurrence the Docker product.

Internally this image is pulled using the Docker API when executing the docker buildx create command but agree that for another container runtime that doesn't default to Docker Hub it would fail.

Will think about it and come back to you but in the meantime you can still define the image tag yourself using: https://docs.docker.com/build/ci/github-actions/configure-builder/#version-pinning

- name: Set up Docker Buildx
  uses: docker/setup-buildx-action@v3
  with:
    driver-opts: image=docker.io/moby/buildkit:latest

Would also need to align tags on buildx side https://github.com/docker/buildx/blob/df7a3db94712c748766dbf033741987deecc6daa/driver/bkimage/bkimage.go#L4-L5 if we agree with this (cc @tonistiigi @thompson-shaun)

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