Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save digitalgeneralist/fdda9c70865a9dc38ef5361fbe6521a2 to your computer and use it in GitHub Desktop.
Save digitalgeneralist/fdda9c70865a9dc38ef5361fbe6521a2 to your computer and use it in GitHub Desktop.
Backup and restore Docker Containers ex.
#save
docker save myusername/myproject:latest | gzip -c > myproject_img_bak05052018.tgz
#restore
gunzip -c myproject_img_bak05052018.tgz | docker load
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment