Skip to content

Instantly share code, notes, and snippets.

@jparanda
Created May 4, 2022 16:42
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 jparanda/3aa176ece0e43b8ad4f526e215bd50ca to your computer and use it in GitHub Desktop.
Save jparanda/3aa176ece0e43b8ad4f526e215bd50ca to your computer and use it in GitHub Desktop.
Docker run command
docker run -d \
--name postgres \
-e POSTGRES_PASSWORD=12345 \
-e POSTGRES_USER=admin \
-p 5432:5432 \
--network pgnetwork \
postgres:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment