Skip to content

Instantly share code, notes, and snippets.

@welshstew
Created February 3, 2016 16:29
Show Gist options
  • Save welshstew/33e06e0165cb1783df82 to your computer and use it in GitHub Desktop.
Save welshstew/33e06e0165cb1783df82 to your computer and use it in GitHub Desktop.
docker debug tip : use bash in docker containers that fail to start
#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