A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/moby/moby/issues/2259 below:

Add ability to mount volume as user other than root · Issue #2259 · moby/moby · GitHub

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 915 moreandrekosak, angelcervera, pahaz, felipemlemos, sergeyklay and 87 morefunkyfuture, andrewshvv, hadim, strarsis, benben and 82 moresvbrunov, bhack, MohammedNoureldin, Smart123s, zionyx and 8 morewilliam-plano-oxb, yngvark, jfloff, AlexMAS, pertu and 37 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4