-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Open
Labels
area/apiarea/kernelarea/volumesexp/expertkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.
Description
Use case: mount a volume from host to container for use by apache as www user.
The problem is currently all mounts are mounted as root inside the container.
For example, this command
docker run -v /tmp:/var/www ubuntu stat -c "%U %G" /var/www
will print "root root"
I need to mount it as user www inside the container.
pcallier, sengaya, arosequist, mhils, michaeljs1990 and 917 moreandrekosak, angelcervera, pahaz, felipemlemos, sergeyklay and 88 morefunkyfuture, andrewshvv, hadim, strarsis, benben and 83 moresvbrunov, bhack, MohammedNoureldin, Smart123s, zionyx and 9 morewilliam-plano-oxb, yngvark, jfloff, AlexMAS, pertu and 38 more
Metadata
Metadata
Assignees
Labels
area/apiarea/kernelarea/volumesexp/expertkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.