Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between 'docker save' and 'docker image save'?

Tags:

docker

From the documentation:

docker save

Description: Save one or more images to a tar archive (streamed to STDOUT by default)

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

docker image save

Description: Save one or more images to a tar archive (streamed to STDOUT by default)

Usage docker image save [OPTIONS] IMAGE [IMAGE...]


Do they have the same behaviour or are there subtle differences depending on which one is used?

like image 473
tallamjr Avatar asked Sep 18 '25 19:09

tallamjr


1 Answers

Both are same. Some frequently used commands have shorter aliases under docker subcommand.

like image 102
Shashank V Avatar answered Sep 21 '25 11:09

Shashank V