1podman-export(1) General Commands Manual podman-export(1)
2
3
4
6 podman-export - Export a container's filesystem contents as a tar ar‐
7 chive
8
9
11 podman export [options] container
12
13
14 podman container export [options] container
15
16
18 podman export exports the filesystem of a container and saves it as a
19 tarball on the local machine. podman export writes to STDOUT by default
20 and can be redirected to a file using the --output flag. The image of
21 the container exported by podman export can be imported by podman im‐
22 port. To export image(s) with parent layers, use podman save. Note: :
23 is a restricted character and cannot be part of the file name.
24
25
26 podman [GLOBAL OPTIONS]
27
28
29 podman export [GLOBAL OPTIONS]
30
31
32 podman export [OPTIONS] CONTAINER
33
34
36 --help, -h
37 Print usage statement
38
39
40 --output, -o
41 Write to a file, default is STDOUT
42
43
45 $ podman export -o redis-container.tar 883504668ec465463bc0fe7e63d53154ac3b696ea8d7b233748918664ea90e57
46
47 $ podman export 883504668ec465463bc0fe7e63d53154ac3b696ea8d7b233748918664ea90e57 > redis-container.tar
48
49
50
52 podman(1), podman-import(1)
53
54
56 August 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com
57 ⟨mailto:umohnani@redhat.com⟩
58
59
60
61 podman-export(1)