Skip to content

Instantly share code, notes, and snippets.

@uiur
Created August 18, 2015 08:54
Show Gist options
  • Save uiur/08b087a64da61a77c7a4 to your computer and use it in GitHub Desktop.
Save uiur/08b087a64da61a77c7a4 to your computer and use it in GitHub Desktop.
`boot2docker up` automatically when `docker` is called
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