Difference between revisions of "Docker save"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[docker save]] -o backup01.tar backup01
 
  [[docker save]] -o backup01.tar backup01
  
  To restore: <code>[[docker load]] -i /tmp/backup01.tar</code>
+
  To restore: <code>[[docker load -i]] /tmp/backup01.tar</code>
  
  

Revision as of 14:58, 13 January 2023

docker commit -p [container-id] backup01[1]
docker save -o backup01.tar backup01
To restore: docker load -i /tmp/backup01.tar


Related terms

See also

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