Answers for "access postgres docker"

SQL
1

postgres trust docker

You have to set the envoronment variable
POSTGRES_HOST_AUTH_METHOD to "trust"
Posted by: Guest on September-01-2021
2

docker run postgres locally

$ docker run -d --name my_postgres -v my_dbdata:/var/lib/postgresql/data -p 54320:5432 postgres:11
Posted by: Guest on March-18-2020

Code answers related to "access postgres docker"

Code answers related to "SQL"

Browse Popular Code Answers by Language