Easy Tutorial
❮ Docker Install Php Docker Ps Command ❯

Docker save Command

Docker Command Reference


docker save: Save the specified image(s) to a tar archive.

Syntax

docker save [OPTIONS] IMAGE [IMAGE...]

OPTIONS Description:

-

-o: Output file.

Example

Save the image tutorialpro/ubuntu:v3 as my_ubuntu_v3.tar

tutorialpro@tutorialpro:~$ docker save -o my_ubuntu_v3.tar tutorialpro/ubuntu:v3
tutorialpro@tutorialpro:~$ ll my_ubuntu_v3.tar
-rw------- 1 tutorialpro tutorialpro 142102016 Jul 11 01:37 my_ubuntu_v3.tar

Docker Command Reference

❮ Docker Install Php Docker Ps Command ❯