Skip to content

Instantly share code, notes, and snippets.

@seanwash
Created January 18, 2016 14:33
Show Gist options
  • Select an option

  • Save seanwash/45c3bcd4a05c9efb93b6 to your computer and use it in GitHub Desktop.

Select an option

Save seanwash/45c3bcd4a05c9efb93b6 to your computer and use it in GitHub Desktop.
Docker Notes
docss() {
 docker-machine restart default
 docs
}

docs() {
  echo "loading docker machine env"
  eval $(docker-machine env default)
  export DB_PORT_5432_TCP_ADDR=$(docker-machine ip default)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment