-
Notifications
You must be signed in to change notification settings - Fork 695
commit: Add an option to nerdctl commit command for media type selection #4330
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
Conversation
pkg/api/types/container_types.go
Outdated
@@ -385,6 +385,8 @@ type ContainerCommitOptions struct { | |||
Pause bool | |||
// Compression is set commit compression algorithm | |||
Compression CompressionType | |||
// MediaType format of the committed image (docker or oci) | |||
MediaType MediaTypeFormat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the OCI lingo, "MediaType" means strings like application/vnd.oci.image.index.v1+json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explaination. I have changed MediaType
to ImageFormat
. WDYT?
049f121
to
1e1035b
Compare
Fixes: containerd#4329 Signed-off-by: ChengyuZhu6 <hudson@cyzhu.com>
1e1035b
to
df145ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Fixes: #4329