Last active
November 6, 2018 16:48
-
-
Save rhogeranacleto/9c3a115f0e326c6a6c69c0f33b619737 to your computer and use it in GitHub Desktop.
This file contains 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
sudo docker volume create pg-volume | |
sudo docker run --name postgres -e POSTGRES_PASSWORD=node@1234 -e POSTGRES_USER=node -v pg-volume:/var/lib/postgresql/data -p 5432:5432 -d postgres:9.4.19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment