This fix updates the markdown for man pages of `docker container ...`
so that they are consistent. The changes are based on feedback:
https://github.com/docker/docker/pull/30645#discussion_r99020188
https://github.com/docker/docker/pull/30645#discussion_r99020304
1. Use `H2 (##)` as needed
2. Use unrpiviledged prompt (`$`) instead of (`#`)
This PR convers files under man/src/container/*.md
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: b8b156f343
Component: cli
705 B
705 B
Export the contents of a container's filesystem using the full or shortened container ID or container name. The output is exported to STDOUT and can be redirected to a tar file.
Stream to a file instead of STDOUT by using -o.
EXAMPLES
Export the contents of the container called angry_bell to a tar file called angry_bell.tar:
$ docker export angry_bell > angry_bell.tar
$ docker export --output=angry_bell-latest.tar angry_bell
$ ls -sh angry_bell.tar
321M angry_bell.tar
$ ls -sh angry_bell-latest.tar
321M angry_bell-latest.tar
See also
docker-import(1) to create an empty filesystem image and import the contents of the tarball into it, then optionally tag it.