EnglishFrenchSpanish

Ad


OnWorks favicon

docker-export - Online in the Cloud

Run docker-export in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command docker-export that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


docker-export - Export the contents of a container's filesystem as a tar archive

SYNOPSIS


docker export [--help] [-o|--output[=""]] 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.

Stream to a file instead of STDOUT by using -o.

OPTIONS


--help
Print usage statement

-o, --output=""
Write to a file, instead of STDOUT

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.

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
[email protected]⟩ January 2015, updated by Joseph Kern (josephakern at gmail dot
com)

Use docker-export online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad