Difference between revisions of "Docker save"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lc}}
 +
[[docker commit -p]] [container-id] backup01<ref>https://www.baculasystems.com/blog/docker-backup-containers/</ref>
 +
[[docker save]] -o backup01.tar backup01
  
  docker commit -p [container-id] backup01<ref>https://www.baculasystems.com/blog/docker-backup-containers/</ref>
+
  To restore: <code>[[docker load -i]] /tmp/backup01.tar</code>
[[docker save]] -o backup01.tar backup01
 
  
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[docker export]]</code>
 
* <code>[[docker export]]</code>
 +
* <code>[[docker load]] -i /tmp/backup01.tar</code>
 +
* [[Backup docker containers]]
 +
* <code>[[crane export]] yourimage yourimage.tar</code>
  
 
== See also ==
 
== See also ==
* {{Docker}}
+
* {{docker image}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]

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]

See also[edit]

  • https://www.baculasystems.com/blog/docker-backup-containers/
  • Advertising: