% BUILDAH(1) Buildah User Manuals % Buildah Community % JUNE 2017
buildah-export - Export container's filesystem content as a tar archive
buildah export [--help] [-o|--output[=""]] CONTAINER
buildah export exports the full or shortened container ID or container name to STDOUT and should be redirected to a tar file.
--help Print usage statement
-o, --output="" Write to a file, instead of STDOUT
Export the contents of the container called angry_bell to a tar file called angry_bell.tar:
# buildah export angry_bell > angry_bell.tar
# buildah 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
buildah-import(1) to create an empty filesystem image and import the contents of the tarball into it, then optionally tag it.
July 2017, Originally copied from docker project docker-export.1.md