Difference between revisions of "Docker save"
Jump to navigation
Jump to search
↑ https://www.baculasystems.com/blog/docker-backup-containers/
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
* <code>[[docker load]] -i /tmp/backup01.tar</code> | * <code>[[docker load]] -i /tmp/backup01.tar</code> | ||
* [[Backup docker containers]] | * [[Backup docker containers]] | ||
+ | * <code>[[crane export]] yourimage yourimage.tar</code> | ||
== See also == | == See also == |
Latest revision as of 13:15, 26 April 2023
docker commit -p [container-id] backup01[1] docker save -o backup01.tar backup01
To restore: docker load -i /tmp/backup01.tar
Related terms[edit]
docker export
docker load -i /tmp/backup01.tar
- Backup docker containers
crane export yourimage yourimage.tar
See also[edit]
Advertising: