Skip to content

Instantly share code, notes, and snippets.

@petrkohut
Last active June 30, 2017 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petrkohut/9cc555d08edf23fbd260 to your computer and use it in GitHub Desktop.
Save petrkohut/9cc555d08edf23fbd260 to your computer and use it in GitHub Desktop.
Postgre server with Docker

Install PostgreSQL

docker pull postgres

Run PostgreSQL server

docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=my_pass -d -v $PWD:/var/lib/postgresql/data postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment