Created
December 10, 2014 20:46
-
-
Save etdebruin/1db453f9c201fc0c8031 to your computer and use it in GitHub Desktop.
.bash_profile for 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
let i=0 | |
while [ "$(boot2docker status)" != "running" ]; do | |
if [ $i -lt 10 ]; then | |
boot2docker start | |
sleep 3 | |
let i=$i+1 | |
else | |
break | |
fi | |
done | |
$(boot2docker socket 2>/dev/null) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment