Skip to content

moby image: add docker.io container registry#314

Closed
Frankkkkk wants to merge 1 commit intodocker:masterfrom
Frankkkkk:master
Closed

moby image: add docker.io container registry#314
Frankkkkk wants to merge 1 commit intodocker:masterfrom
Frankkkkk:master

Conversation

@Frankkkkk
Copy link
Copy Markdown

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 <frank@villaro-dixon.eu>
Copy link
Copy Markdown
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
Copy Markdown
Author

Frankkkkk commented Apr 12, 2024 via email

@crazy-max
Copy link
Copy Markdown
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