English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Docker save Command

Docker Command Reference

docker save : Save the specified image as a tar archive file.

Syntax

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

OPTIONS Description:

  • -o :Output to File.

Online Examples

Mirror w3codebox/ubuntu:v3 Generate my_ubuntu_v3.tar Document

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

Docker Command Reference