skip to Main Content

Docker and Postgresql with mounted (local): chown: changing ownership of '/var/lib/postgresql/data/pgdata': Permission denied

I am using the following standard to mount a local volume into my postgres container as described here: https://hub.docker.com/_/postgres $ docker run -d --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -e PGDATA=/var/lib/postgresql/data/pgdata -v /custom/mount:/var/lib/postgresql/data postgres It worked well for months but since the…

VIEW QUESTION
Back To Top
Search