.nh
.TH podman-export 1
.SH NAME
.PP
podman-export - Export a container's filesystem contents as a tar archive

.SH SYNOPSIS
.PP
\fBpodman export\fP [\fIoptions\fP] \fIcontainer\fP

.PP
\fBpodman container export\fP [\fIoptions\fP] \fIcontainer\fP

.SH DESCRIPTION
.PP
\fBpodman export\fP exports the filesystem of a container and saves it as a tarball
on the local machine. \fBpodman export\fP writes to STDOUT by default and can be
redirected to a file using the \fB\fC--output\fR flag.
The image of the container exported by \fBpodman export\fP can be imported by \fBpodman import\fP\&.
To export image(s) with parent layers, use \fBpodman save\fP\&.
Note: \fB\fC:\fR is a restricted character and cannot be part of the file name.

.PP
\fBpodman [GLOBAL OPTIONS]\fP

.PP
\fBpodman export [GLOBAL OPTIONS]\fP

.PP
\fBpodman export [OPTIONS] CONTAINER\fP

.SH OPTIONS
.SS \fB--help\fP, \fB-h\fP
.PP
Print usage statement

.SS \fB--output\fP, \fB-o\fP
.PP
Write to a file, default is STDOUT

.SH EXAMPLES
.PP
.RS

.nf
$ podman export -o redis-container.tar 883504668ec465463bc0fe7e63d53154ac3b696ea8d7b233748918664ea90e57

$ podman export 883504668ec465463bc0fe7e63d53154ac3b696ea8d7b233748918664ea90e57 > redis-container.tar

.fi
.RE

.SH SEE ALSO
.PP
\fBpodman(1)\fP, \fBpodman-import(1)\fP

.SH HISTORY
.PP
August 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com
\[la]mailto:umohnani@redhat.com\[ra]
