Created
May 6, 2018 10:18
-
-
Save digitalgeneralist/fdda9c70865a9dc38ef5361fbe6521a2 to your computer and use it in GitHub Desktop.
Backup and restore Docker Containers ex.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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