mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
cbb149f52f
make them reference to each other. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
36 lines
956 B
Markdown
36 lines
956 B
Markdown
% DOCKER(1) Docker User Manuals
|
|
% Docker Community
|
|
% JUNE 2014
|
|
# NAME
|
|
docker-export - Export the contents of a filesystem as a tar archive to STDOUT
|
|
|
|
# SYNOPSIS
|
|
**docker export**
|
|
[**--help**]
|
|
CONTAINER
|
|
|
|
# DESCRIPTION
|
|
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.
|
|
|
|
# OPTIONS
|
|
**--help**
|
|
Print usage statement
|
|
|
|
# EXAMPLES
|
|
Export the contents of the container called angry_bell to a tar file
|
|
called test.tar:
|
|
|
|
# docker export angry_bell > test.tar
|
|
# ls *.tar
|
|
test.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.
|
|
|
|
# HISTORY
|
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
|
based on docker.com source material and internal work.
|
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|