Answers for "connect to dockers postgres"

2

connect to postgres database in docker container

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

postgresql docker

docker run --rm -it -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -e POSTGRES_USER=postgres -e POSTGRES_DB=InitialDB postgres
Posted by: Guest on September-17-2021

Browse Popular Code Answers by Language