volume permissions

My docker run script is trying to install as a user owned file into volume mount point but getting permission denied because root permissions. any ideas on how to solve this? I put a mkdir -p to mount point and chowned it in Dockerfile but I think that happens before volume mount
3 Replies
Percy
Percyβ€’13mo ago
Project ID: 99148539-256f-4a0e-9c5e-0106ef7b47d1
All in. πŸ₯₯🌴
99148539-256f-4a0e-9c5e-0106ef7b47d1 I created another volume and it seems to be working now 🀞
Brody
Brodyβ€’13mo ago
for future reference, volumes are mounted as root, but they are not mounted during build
Want results from more Discord servers?
Add your server