Unable to connect to db from CL.
When I try connect i receive following error:
root@be5cbb137675:/scripts# psql -U docker -W
Password:
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user "docker"
What is the bug or the crash?
Unable to connect to db from CL. When I try connect i receive following error:
as a password I type in "docker"
Steps to reproduce the issue
output:
docker compose exec postgres_db bash
Versions
kartoza/postgis:16-3.4
Additional context
What should be done to enter in db from command line?