Closed jjcfrancisco closed 3 months ago
A connection cannot be made with the container when in detached mode
Can't make connection ❌
docker run --name "my-db" \ -p 25432:5432 \ -e POSTGRES_USER=my_user \ -e POSTGRES_PASS=my_password \ -e POSTGRES_DBNAME=my_database \ -d -t kartoza/postgis:16-3.4
Can make connection ✅
docker run --name "my-db" \ -p 25432:5432 \ -e POSTGRES_USER=my_user \ -e POSTGRES_PASS=my_password \ -e POSTGRES_DBNAME=my_database \ -t kartoza/postgis:16-3.4
kartoza/postgis:16-3.4
docker exec
psql
Can you clarify the test you are doing for making a connection? It works fine for me here:
What is the bug or the crash?
A connection cannot be made with the container when in detached mode
Steps to reproduce the issue
Can't make connection ❌
Can make connection ✅
Versions
kartoza/postgis:16-3.4
Additional context
docker exec
->psql
.