mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-06 06:39:18 -05:00
638 B
638 B
title
| title |
|---|
| Docker save |
Docker save
docker save stores a Docker image to a tar archive. It is useful to make an offline backup of an image or transfer an image to a computer in a corporate environment which does not have a direct access to the Internet.
For example, to save the nginx image already in local computer to a file named nginx-backup.tar, the following command can be run:
docker save -o nginx-backup.tar nginx
Or with a specific version:
docker save -o nginx-backup.tar nginx:1.15.5