Answers for "run postgres database in docker container"

9

docker postgres

$ docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
Posted by: Guest on September-17-2020
2

connect to postgres database in docker container

$ docker exec -it postgres-container psql -U postgres
Posted by: Guest on July-28-2020

Code answers related to "run postgres database in docker container"

Browse Popular Code Answers by Language