Created
August 18, 2015 08:54
-
-
Save uiur/08b087a64da61a77c7a4 to your computer and use it in GitHub Desktop.
`boot2docker up` automatically when `docker` is called
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
boot2docker-up() { | |
[ "$(boot2docker status)" = "running" ] || boot2docker up | |
} | |
alias docker='boot2docker-up && docker' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment