Skip to content

Instantly share code, notes, and snippets.

@nikukyugamer
Last active December 24, 2016 07:40
Show Gist options
  • Save nikukyugamer/a54e89d6efd9c38966c509178c32d281 to your computer and use it in GitHub Desktop.
Save nikukyugamer/a54e89d6efd9c38966c509178c32d281 to your computer and use it in GitHub Desktop.
how to export docker image
#!/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