Docker container cannot access postgres

A couple of things that I can think of to check, initially:

  • Is the postgres container starting/running correctly? docker container ls and docker container logs <container_name> could help.
  • If the postgres container is starting, can you connect via bash (or whatever your flavour is depending on OS etc.) and connect to the psql service, or if you prefer using the tools, pgadmin.

Edit: apologies, I see that your logs show the container is running (it’s still early for me :wink: )