3 lines
152 B
Bash
3 lines
152 B
Bash
|
docker volume create --name pgdata
|
||
|
docker run --name some-postgres -v pgdata:/var/lib/postgresql/data -e POSTGRES_PASSWORD=mysecretpassword -d postgres
|