Latest web development tutorials

Docker save command

Docker command Daquan Docker command Daquan


docker save: save the specified image into a tar archive.

grammar

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

OPTIONS Description:

  • -o: output to a file.

Examples

Mirrored w3big / ubuntu: v3 documentation generated my_ubuntu_v3.tar

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

Docker command Daquan Docker command Daquan