Last active
November 29, 2019 01:59
-
-
Save keiichiroy/05282498fc4df4e7fbf54d197fc28b48 to your computer and use it in GitHub Desktop.
Revisions
-
keiichiroy renamed this gist
Nov 29, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
keiichiroy renamed this gist
Nov 29, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
keiichiroy created this gist
Nov 29, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ ```bash docker run -d --user "$(id -u):$(id -g)" -v /etc/passwd:/etc/passwd:ro -v $(pwd)/data:/var/lib/postgresql/data -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres:10.10 ``` ```bash psql -h localhost -p 5432 -U postgres -W -d postgres ```