postgres in docker
Posted: Thu May 10, 2018 9:33 pm
Hello everyone.
Did anybody run Postgres docker container successfully?
I run the following commands:
The server starts but I am not able to establish connection through mapped port.
These commands works fine on fresh Debian system.
Is there anything else to configure?
Thanks.
Did anybody run Postgres docker container successfully?
I run the following commands:
Code: Select all
docker volume create pgdata
docker run -it -p 5432:5432 --rm -v pgdata:/var/lib/postgresql/data postgres
These commands works fine on fresh Debian system.
Is there anything else to configure?
Thanks.