Is it possible to set permissions on volumes?
Dockerfile is using user id of 1000,and the WORKDIR which they own is /app.
A Volume is mounted at /media
The application gets permission denied when trying to write to /media.
Is there any way to set do 1000:1000 -R on the volume to match the Dockerfile user?
Or can you suggest an alternative workaround?
5 Replies