docker load
Jump to navigation
Jump to search
↑ https://www.baculasystems.com/blog/docker-backup-containers/
↑ https://www.baculasystems.com/blog/docker-backup-containers/
docker commit -p [container-id] backup01[1] docker save -o backup01.tar backup01
To restore: docker load -i /tmp/backup01.tar
[2]
docker load -i /tmp/backup01.tar 531743b7098c: Loading layer [==================================================>] 5.819MB/5.819MB 782a99e956c8: Loading layer [==================================================>] 333.9MB/333.9MB f5e4d0e4706d: Loading layer [==================================================>] 49.71MB/49.71MB 3d33688681eb: Loading layer [==================================================>] 9.216kB/9.216kB e63cc85261d6: Loading layer [==================================================>] 4.608kB/4.608kB 18a794892afa: Loading layer [==================================================>] 5.632kB/5.632kB fe3c75bbc7a6: Loading layer [==================================================>] 4.096kB/4.096kB 3db6a7b96493: Loading layer [==================================================>] 4.608kB/4.608kB eb870aba6d2e: Loading layer [==================================================>] 25.6kB/25.6kB 0ac55b2ba6c4: Loading layer [==================================================>] 3.584kB/3.584kB 53c1b8a8c532: Loading layer [==================================================>] 3.072kB/3.072kB 5182359485bd: Loading layer [==================================================>] 3.584kB/3.584kB cb47a1c328c9: Loading layer [==================================================>] 47.62kB/47.62kB e034efc5d775: Loading layer [==================================================>] 112.6kB/112.6kB Loaded image: IMAGE_NAME:latest
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: