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

WIP: containerd integration: Multi-platform images UX #47680

Open
17 tasks
vvoland opened this issue Apr 4, 2024 · 0 comments
Open
17 tasks

WIP: containerd integration: Multi-platform images UX #47680

vvoland opened this issue Apr 4, 2024 · 0 comments
Assignees
Labels
area/images area/ux containerd-integration Issues and PRs related to containerd integration kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.

Comments

@vvoland
Copy link
Contributor

vvoland commented Apr 4, 2024

Description

A draft tracking issue for containerd multiplatform image UX PRs

Combined Moby branch: https://github.com/vvoland/moby/tree/c8d-multiplatform
Combined CLI branch: https://github.com/vvoland/cli/tree/c8d-multiplatform

docker images --tree

Make docker images output multi-platform aware

docker inspect --platform=...

  • Expose platform-specific subimages informations in the API endpoint
  • Add CLI switch

docker convert

Create new docker images from the existing multi-platform images and filter their manifests.
In future this could also support other operations (like converting layer compression, etc).

NOTE: While docker image create could be a better name for this, docker create is already an alias to docker container create.

docker push --platform=...

Pick a platform-specific manifest and push it instead of the whole multi-platform index.

docker rmi --platform=...

Remove content of the specified platform

  • Add CLI switch
  • Server implementation

docker save --platform=...

Pick a platform-specific manifest and save it instead of the whole multi-platform index.

  • Add CLI switch
  • Server implementation

docker load --platform=...

Load the image from the tarball (multi-platform index), but only import specified platform blobs.

  • Add CLI switch
  • Server implementation

docker history --platform=...

Show history for the specified platform, otherwise will show the host platform, if host platform isn't available, it will pick any.

  • Add CLI switch
  • Server implementation
@vvoland vvoland added kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed. area/images containerd-integration Issues and PRs related to containerd integration area/ux labels Apr 4, 2024
@vvoland vvoland self-assigned this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/images area/ux containerd-integration Issues and PRs related to containerd integration kind/bug Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
Projects
None yet
Development

No branches or pull requests

1 participant