Created
September 13, 2020 18:41
-
-
Save tivrfoa/3e50cd405fcfd8d5c461c7d21db8db39 to your computer and use it in GitHub Desktop.
Running PostgreSQL on Docker
This file contains hidden or 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
| # Want to start a PostgreSQL server on the side with Docker? | |
| docker run --ulimit memlock=-1:-1 -it --rm=true --memory-swappiness=0 \ | |
| --name postgres-quarkus-hibernate -e POSTGRES_USER=hibernate \ | |
| -e POSTGRES_PASSWORD=hibernate -e POSTGRES_DB=hibernate_db \ | |
| -p 5432:5432 postgres:10.5 | |
| # then you can use the client: pgadmin3 connecting to localhost:5432 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment