-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image
Description
I am trying to run the following
docker run -d --rm \
--name authn-db \
-e POSTGRES_PASSWORD=abcd \
-e POSTGRES_USER=abcd \
postgres:11-alpine \
postgres
docker exec -it \
authn-db \
psql \
-h localhost \
-U postgres
However this results to psql: could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
Metadata
Metadata
Assignees
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image