Skip to content

Instantly share code, notes, and snippets.

@AlexSJ
Created February 8, 2017 00:02
Show Gist options
  • Save AlexSJ/7713678c7c2f3bc6c2f91901e65f503b to your computer and use it in GitHub Desktop.
Save AlexSJ/7713678c7c2f3bc6c2f91901e65f503b to your computer and use it in GitHub Desktop.
docker run --name postgresql -itd --restart always \
--env 'PG_PASSWORD=senha' \
--env 'DB_NAME=db' \
--env 'PG_TRUST_LOCALNET=true' \
juchem/postgresql:9.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment