Last active
November 17, 2018 12:44
-
-
Save rabmarjan/e5c0a69b05ecfbb516fc5b14910b052b 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
docker build -t postgres10 . | |
docker run -d -it -v postgres:/var/lib/postgresql/10/main -p 5433:5432 postgres10 bash | |
docker exec -it $(docker ps --format "{{.ID}}") bash service postgresql restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment