Docker save: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=Overview=
=Overview=


Tanks an image name or ID and saves its content (as individual layers) into a TAR archive format. By default it dumps the content to stdout, so it must be redirected to a file.
Takes an image name or ID and saves its content (as individual layers) into a TAR archive format. By default it dumps the content to stdout, so it must be redirected to a file.


  docker save [''options''] <''image-id''>
  docker save [''options''] <''image-id''>


  docker save 6902f4d604b9 > postgresql-95-rhel7.tar
  docker save 6902f4d604b9 > postgresql-95-rhel7.tar

Revision as of 04:13, 7 December 2017

External

Internal

Overview

Takes an image name or ID and saves its content (as individual layers) into a TAR archive format. By default it dumps the content to stdout, so it must be redirected to a file.

docker save [options] <image-id>
docker save 6902f4d604b9 > postgresql-95-rhel7.tar