Last active
November 17, 2018 12:42
-
-
Save rabmarjan/9382799bed3daa55d1cff7d4a83f071f 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 save postgres10 > postgres10.tar | |
docker load postgres10 < postgres10.tar | |
docker volume create postgres | |
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