mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
podman-generate and -play had the wrong NAMEs.
podman-restart and -volume-prune the wrong SYNOPSIS.
All the rest are varying degrees of minor:
- missing a space between the NAME and description
- multi-line SYNOPSIS that could be collapsed into one
- use of UPPER CASE in synopsis instead of *asterisks*
- improper use of **double asterisks** for options
- varlink and version were transposed in podman-1
- fixed inconsistencies between the description in
the man page and that in the parent manpage. These
are too numerous for me to fix all.
Added: script that could be used in CI to prevent future
such inconsistencies. It cannot be enabled yet because
there are still 35+ inconsistencies in need of cleaning.
This will be difficult to review on github. I suggest
pulling the PR and running 'git log -1 -p | cdif | less'
'cdif' is a handy tool for colorizing individual diffs between
lines:
http://kaz-utashiro.github.io/cdif/
There are other such tools; use your favorite. Comparing
without visual highlights may be painful.
I also encourage you to run hack/man-page-checker and suggest
more fixes for the problems it's finding.
Signed-off-by: Ed Santiago <santiago@redhat.com>
1.0 KiB
1.0 KiB
% podman-export(1)
NAME
podman-export - Export a container's filesystem contents as a tar archive
SYNOPSIS
podman export [options] container
DESCRIPTION
podman export exports the filesystem of a container and saves it as a tarball
on the local machine. podman export writes to STDOUT by default and can be
redirected to a file using the --output flag.
Note: : is a restricted character and cannot be part of the file name.
podman [GLOBAL OPTIONS]
podman export [GLOBAL OPTIONS]
podman export [OPTIONS] CONTAINER
OPTIONS
--output, -o
Write to a file, default is STDOUT
--help, -h
Print usage statement
EXAMPLES
$ podman export -o redis-container.tar 883504668ec465463bc0fe7e63d53154ac3b696ea8d7b233748918664ea90e57
$ podman export > redis-container.tar 883504668ec465463bc0fe7e63d53154ac3b696ea8d7b233748918664ea90e57
SEE ALSO
podman(1), podman-import(1), crio(8)
HISTORY
August 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com