8000 c8d: allow pulling images for multiple architectures · Issue #49994 · moby/moby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

c8d: allow pulling images for multiple architectures #49994

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

Open
thaJeztah opened this issue May 15, 2025 · 1 comment
Open

c8d: allow pulling images for multiple architectures #49994

thaJeztah opened this issue May 15, 2025 · 1 comment
Labels
area/distribution area/images containerd-integration Issues and PRs related to containerd integration kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny

Comments

@thaJeztah
Copy link
Member

Description

Currently, we only allow a single platform to be pulled. With the containerd image-store, it would be nice to be able to pull multiple images at once;

Currently (limitation on the CLI) specifying multiple --platform flags will override prior ones;

docker pull --platform=linux/amd64 --platform=linux/arm64 alpine

docker image ls --tree
IMAGE                   ID             DISK USAGE   CONTENT SIZE   EXTRA
alpine:latest           a8560b36e8b8       12.8MB         3.99MB
├─ linux/amd64          1c4eef651f65           0B             0B
├─ linux/arm/v6         903bfe2ae994           0B             0B
├─ linux/arm/v7         9c2d245b3c01           0B             0B
├─ linux/arm64/v8       757d680068d7       12.8MB         3.99MB
├─ linux/386            2436f2b3b7d2           0B             0B
├─ linux/ppc64le        9ed53fd3b831           0B             0B
├─ linux/riscv64        1de5eb4a9a67           0B             0B
└─ linux/s390x          fe0dcdd1f783           0B             0B

Ideally, the above would produce;

docker image ls --tree
IMAGE                   ID             DISK USAGE   CONTENT SIZE   EXTRA
alpine:latest           a8560b36e8b8         25MB         7.64MB
├─ linux/amd64          1c4eef651f65       12.1MB         3.64MB
├─ linux/arm/v6         903bfe2ae994           0B             0B
├─ linux/arm/v7         9c2d245b3c01           0B             0B
├─ linux/arm64/v8       757d680068d7       12.8MB         3.99MB
├─ linux/386            2436f2b3b7d2           0B             0B
├─ linux/ppc64le        9ed53fd3b831           0B             0B
├─ linux/riscv64        1de5eb4a9a67           0B             0B
└─ linux/s390x          fe0dcdd1f783           0B             0B

We can start with updating the API to accept multiple platforms (but produce an error), and the CLI to accept multiple; we did something similar for other actions.

@thaJeztah thaJeztah added area/distribution kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny area/images containerd-integration Issues and PRs related to containerd integration labels May 15, 2025
@thaJeztah
Copy link
Member Author
6269

Also related;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/distribution area/images containerd-integration Issues and PRs related to containerd integration kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny
Projects
None yet
Development

No branches or pull requests

1 participant
0