Created
June 22, 2014 18:34
-
-
Save mckaydavis/05dc56bcb9ee428346fc to your computer and use it in GitHub Desktop.
One-liner to start bash shell in most recently modified docker container image
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
docker run -i -t $(docker images | head -2 | tail -1 | tr -s \ | cut -d\ -f3) /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment