Docker save Command
docker save : Saves the specified image as a tar archive.
Docker save Syntax
docker save [OPTIONS] IMAGE [IMAGE...]
OPTIONS Description.
- -o : The file to output to.
Docker save Example
Generate the image apidemos/ubuntu:v3 into the my_ubuntu_v3.tar file.
apidemos@apidemos:~docker save -o my_ubuntu_v3.tar apidemos/ubuntu:v3
apidemos@apidemos:~ ll my_ubuntu_v3.tar
-rw------- 1 apidemos apidemos 142102016 Jul 11 01:37 my_ubuntu_v3.ta