Last active
October 2, 2018 07:39
-
-
Save yuryroot/5d2a701a258b2a01a374080fa92a5233 to your computer and use it in GitHub Desktop.
This file contains 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
#### 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