Skip to content

Instantly share code, notes, and snippets.

@yuryroot
Last active October 2, 2018 07:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuryroot/5d2a701a258b2a01a374080fa92a5233 to your computer and use it in GitHub Desktop.
Save yuryroot/5d2a701a258b2a01a374080fa92a5233 to your computer and use it in GitHub Desktop.
#### Postgres
# Run Postgres 10
sudo docker run --rm --name postgres10 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRE_PORT=5433 -p 5433:5432 postgres:10
# Connect to Postgres 10
psql -p 5433 -U postgres -h 172.17.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment