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}} | |
[[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 |
Revision as of 14:56, 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:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: