Last active
August 29, 2015 14:02
-
-
Save gdoteof/36c8ddf4650bb7c92a24 to your computer and use it in GitHub Desktop.
get bash shell for latest built docker
This file contains 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
LASTDOCKER=`docker ps -l | tail -n1 | awk {'print $1'}` && \ | |
docker commit $LASTDOCKER recent && \ | |
docker run -i -t recent /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment