estesp / manifest-tool

Command line tool to create and query container image manifest list/indexes
Apache License 2.0
741 stars 92 forks source link

FR: add `ocify` to convert between OCI and Docker mediaTypes #183

Open thesayyn opened 2 years ago

thesayyn commented 2 years ago

Since this is a manifest manipulation tool, I thought it would be a great addition have a subcommand called ocify or convert to convert images between docker v2 and OCI mediaTypes and Config.

An example cmd snippet

manifest-tool convert localhost:8080/image:latest  localhost:8080/image-oci:latest --format="oci|docker"

I'd be happy to implement this if that makes sense.