Last active
December 24, 2016 07:40
-
-
Save nikukyugamer/a54e89d6efd9c38966c509178c32d281 to your computer and use it in GitHub Desktop.
how to export docker image
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
#!/bin/bash | |
docker export hogehoge_app > hogehoge_app.tar | |
# import | |
# cat hogehoge_app.tar | docker import - hogehoge/app:X.X | |
# commit (enable to override existed image) | |
# docker commit container hogehoge/app:X.X |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment