English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
docker export :Export the filesystem as a tar archive to STDOUT.
docker export [OPTIONS] CONTAINER
OPTIONS Description:
-o :Write the input content to a file.
Save the container with id a404c6c174a2the container is saved as a tar file by date.
w3codebox@w3codebox:~$ docker export -o mysql-`date +%Y%m%d.tar a404c6c174a2 w3codebox@w3codebox:~$ ls mysql-`date +%Y%m%d.tar mysql-20160711.tar