Created
February 3, 2016 16:29
-
-
Save welshstew/33e06e0165cb1783df82 to your computer and use it in GitHub Desktop.
docker debug tip : use bash in docker containers that fail to start
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
#if the docker images starts but immediately fails, a good way of exploring the file system after the failure | |
# is to commit the containerId as a temp image, then run the container and explore...! | |
docker commit f7391c7a2b97 temporary_image | |
docker run -it temporary_image /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment