Difference between revisions of "Docker save"
Jump to navigation
Jump to search
↑ https://www.baculasystems.com/blog/docker-backup-containers/
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | [[docker commit]] | + | [[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 | ||
Revision as of 14:57, 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
docker export
docker load -i /tmp/backup01.tar
- Backup docker containers
See also
docker
[config | pull
|push
|run
|start
, |stop
|cp
|events
|info
|version
|build
|commit
|image
|images
|image ls
|image inspect
|rmi
|rm
|tag
|exec | rename | manifest | save | service update | load
],docker --help
Advertising: