Created
December 20, 2017 07:04
-
-
Save tyagiakhilesh/40949dde90f45f165c092eb027a49261 to your computer and use it in GitHub Desktop.
Docker cheat sheet
This file contains hidden or 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
//This might come handy when you want to inspect the fs of a dead container | |
//or want to debug why it was not coming alright. | |
docker container run -it --rm --entrypoint=/bin/bash <image id> | |
// To transfer images from one host to another | |
docker save <image id> > /tmp/image.tar | |
docker load < /tmp/image.tar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment