Unable to connect to postgres(running in docker) from pgadmin

16 views Asked by At

I have postgres running in docker with this command:

docker run --name=my-db -e POSTGRES_PASSWORD=abc -e POSTGRES_USER=xyz -d postgres

Then I try to connect to it using pgadmin. But I get error:

enter image description here

What am I missing?

0

There are 0 answers