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

image/list: Add --tree flag #4982

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vvoland
Copy link
Contributor

@vvoland vvoland commented Apr 4, 2024

Add --tree flag to docker image list

image

- Description for the changelog

- containerd image store: Add `--tree` to `docker images` to view multi-platform images

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@vvoland vvoland added impact/changelog area/api area/ux containerd-integration Issues and PRs related to containerd integration labels Apr 4, 2024
@vvoland vvoland self-assigned this Apr 4, 2024
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@codecov-commenter
Copy link

Codecov Report

Merging #4982 (a4c71cf) into master (10b9810) will decrease coverage by 0.40%.
The diff coverage is 1.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4982      +/-   ##
==========================================
- Coverage   61.03%   60.63%   -0.40%     
==========================================
  Files         295      296       +1     
  Lines       20648    20787     +139     
==========================================
+ Hits        12603    12605       +2     
- Misses       7148     7284     +136     
- Partials      897      898       +1     

func runTree(ctx context.Context, dockerCLI command.Cli, opts treeOptions) error {
images, err := dockerCLI.Client().ImageList(ctx, imagetypes.ListOptions{
All: opts.all,
ContainerCount: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api area/ux containerd-integration Issues and PRs related to containerd integration impact/changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants