Open rspeer opened 8 years ago
Once this happens, if I shut down the container, it never comes back up.
I get this message:
pg_ctl: could not start server
Examine the log output.
...but there is no log output. The container's /var/log/postgresql/postgresql-9.5-main.log is empty.
This sounds like a permissions error to me, and is likely related to UID/GID mapping. Do you know if there are any other postgres containers, or postgres, running on your host?
Try setting the UID/GID mapping env variables and see what happens.
I'm running version 9.5-2 of this container on Docker 1.12.1 on Linux, and eventually it starts outputting lots of errors about files in its data volume.
Here are the kind of errors I get:
Here's the docker-compose configuration that launches it: