permissions issue with pgdata
bind mount in postgres container on some host systems
#941
Labels
pgdata
bind mount in postgres container on some host systems
#941
The postgres image sets up a user
postgres
with id 999 which owns/var/lib/postgresql/data/pgdata
/docker/data
https://github.com/docker-library/postgres/blob/master/12/bookworm/DockerfileOn at least one linux system (mint without systemd i.e. no
systemd-coredump
user with id 999) the container gets tripped up on not having permission tochmod
/var/lib/postgresql/data/pgdata
https://stackoverflow.com/a/66502465 works as a manual solution but will break when
docker-compose.yml
gets re-generatedrelated notes from the image docs: https://github.com/docker-library/docs/blob/master/postgres/README.md#arbitrary---user-notes
The text was updated successfully, but these errors were encountered: