Docker load

From wikieduonline
Jump to navigation Jump to search
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[edit]

See also[edit]

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