I pulled the Postgres image from docker hub but when I run it gives me the following error:
ERROR IMAGE
Read the error message!
Something like this will work: docker run postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
docker run postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
Also see the postgres image on Docker for more help: https://hub.docker.com/_/postgres
2.1m questions
2.1m answers
60 comments
57.0k users