You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/command-reference.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -778,6 +778,10 @@ Flags:
778
778
-:whale:`-p, --pause`: Pause container during commit (default: true)
779
779
-:nerd_face:`--compression`: Commit compression algorithm (supported values: zstd or gzip) (default: gzip) (zstd is generally better for compression ratio but might not be as widely supported)
780
780
-:nerd_face:`--format`: Format of the committed image (supported values: docker or oci) (default: docker) (docker uses Docker Schema2 media types for compatibility, oci uses OCI image format media types)
781
+
-:nerd_face:`--estargz`: Convert the committed layer to eStargz for lazy pulling
// Estargz convert legacy tar(.gz) layers to eStargz for lazy pulling. Should be used in conjunction with '--oci'
72
81
Estargzbool
73
82
// EstargzRecordIn read 'ctr-remote optimize --record-out=<FILE>' record file (EXPERIMENTAL)
@@ -82,16 +91,18 @@ type ImageConvertOptions struct {
82
91
EstargzExternalTocbool
83
92
// EstargzKeepDiffID convert to esgz without changing diffID (cannot be used in conjunction with '--estargz-record-in'. must be specified with '--estargz-external-toc')
84
93
EstargzKeepDiffIDbool
85
-
// #endregion
94
+
}
86
95
87
-
// #region zstd flags
96
+
// ZstdOptions contains zstd conversion options
97
+
typeZstdOptionsstruct {
88
98
// Zstd convert legacy tar(.gz) layers to zstd. Should be used in conjunction with '--oci'
0 commit comments