Docker Community Forums

Share and learn in the Docker community.

Mounted volumes owner changed after running container

Hi everyone,

I’ve been playing around with Docker for a while and always having a permission issue with my monted volumes. In fact, when I run splunk image in a docker container using docker-compose, my volumes inherit the owner from the container, so I cannot edit or copy my volumes to another location.

Can anyone please tell me what is the best practice to solve this issue ?