Skip to content

Instantly share code, notes, and snippets.

@rjmacarthy
Last active August 9, 2016 19:38
Show Gist options
  • Save rjmacarthy/95142473f8de50a13398cf299be27de3 to your computer and use it in GitHub Desktop.
Save rjmacarthy/95142473f8de50a13398cf299be27de3 to your computer and use it in GitHub Desktop.
docker postgres
Run docker-machine env to get docker-machine host
psql -h [docker-machine host] -U youruser
psql -h 192.168.99.100 -U admin
psql -h 172.17.0.1 -U admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment