Skip to content

Instantly share code, notes, and snippets.

@netstart
Created July 31, 2019 13:27
Show Gist options
  • Save netstart/7f5e267794d4992f9cc8235355799734 to your computer and use it in GitHub Desktop.
Save netstart/7f5e267794d4992f9cc8235355799734 to your computer and use it in GitHub Desktop.
start postgres database using docker
docker run --ulimit memlock=-1:-1 -it --rm=true --memory-swappiness=0 \
--name postgres-quarkus-rest-http-crud -e POSTGRES_USER=restcrud \
-e POSTGRES_PASSWORD=restcrud -e POSTGRES_DB=rest-crud \
-p 5432:5432 postgres:10.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment