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

[CI:DOCS] Add shared --compress to man pages #16986

Merged
merged 1 commit into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/markdown/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ podman-push.1.md
podman-restart.1.md
podman-rm.1.md
podman-run.1.md
podman-save.1.md
podman-search.1.md
podman-secret-ls.1.md
podman-start.1.md
Expand Down
7 changes: 7 additions & 0 deletions docs/source/markdown/options/dir-compress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
####> This option file is used in:
####> podman push, save
####> If file is edited, make sure the changes
####> are applicable to all of those.
#### **--compress**

Compress tarball image layers when pushing to a directory using the 'dir' transport. (default is same compression type, compressed or uncompressed, as source)
3 changes: 1 addition & 2 deletions docs/source/markdown/podman-push.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ $ podman push myimage oci-archive:/tmp/myimage

@@option cert-dir

#### **--compress**
@@option dir-compress

Compress tarball image layers when pushing to a directory using the 'dir' transport. (default is same compression type, compressed or uncompressed, as source)
Note: This flag can only be set when using the **dir** transport

@@option compression-format
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ Note: `:` is a restricted character and cannot be part of the file name.

## OPTIONS

#### **--compress**
@@option dir-compress

Compress tarball image layers when pushing to a directory using the 'dir' transport. (default is same compression type, compressed or uncompressed, as source)
Note: This flag can only be set with **--format=docker-dir**.

#### **--format**=*format*
Expand Down