Difference between revisions of "Docker save"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  [[docker commit]] -p [container-id] backup01<ref>https://www.baculasystems.com/blog/docker-backup-containers/</ref>
 
  [[docker commit]] -p [container-id] backup01<ref>https://www.baculasystems.com/blog/docker-backup-containers/</ref>
 
  [[docker save]] -o backup01.tar backup01
 
  [[docker save]] -o backup01.tar backup01
 +
 +
To restore: <code>docker load -i /tmp/backup01.tar</code>
  
  

Revision as of 07:49, 8 October 2020

Advertising: