title: In docker, writing file to mounted file-system as non-root?
body: <p>I have a docker container with a <code>-v /home/dan:/home/dan:rw</code>. When the container writes files to <code>/home/dan</code>, the files are owned by root in the host filesystem. Is there a way to make it so that files written from the container to the mounted volume are owned by some arbitrary user on the host filesystem?</p>