22 ms·
I mount a directory from the host machine as a volume. It works great, though I've only been mounting the volume to one type of container where the UIDs are per
by tokenizerrr 13y ago
I mount a directory from the host machine as a volume. It works great, though I've only been mounting the volume to one type of container where the UIDs are persistent. Just need to chown the directory once correctly on the host, or include a chown in your dockerfile. It can become problematic if you have multiple containers with variable UIDs, though.