cli icon indicating copy to clipboard operation
cli copied to clipboard

Add image convert (client-side)

Open vvoland opened this issue 1 year ago • 3 comments

  • needs: https://github.com/moby/moby/pull/48158
  • needs: https://github.com/moby/moby/pull/47526

- What I did Add docker image convert command (working on the client side)

- How I did it

- How to verify it

convert --available

Screenshot 2024-07-11 at 13 37 18

convert --platforms

Screenshot 2024-07-11 at 13 38 15

convert --no-attestations

Screenshot 2024-07-11 at 13 39 47

- Description for the changelog



- A picture of a cute animal (not mandatory but encouraged)

vvoland avatar Jul 11 '24 11:07 vvoland

Codecov Report

Attention: Patch coverage is 0% with 104 lines in your changes missing coverage. Please review.

Project coverage is 61.16%. Comparing base (2f529a1) to head (b57527b). Report is 601 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5249      +/-   ##
==========================================
- Coverage   61.46%   61.16%   -0.31%     
==========================================
  Files         298      299       +1     
  Lines       20820    20924     +104     
==========================================
  Hits        12798    12798              
- Misses       7110     7214     +104     
  Partials      912      912              

codecov-commenter avatar Jul 11 '24 11:07 codecov-commenter

I would also love to see a way to fetch the OCI index from the image get API.

cpuguy83 avatar Jul 11 '24 18:07 cpuguy83

Sorry, intended for that to go into the moby PR, but works well here too :)

cpuguy83 avatar Jul 11 '24 18:07 cpuguy83