pymor / docker-testing

Docker images to facilitate pymor testing
https://pymor.org
1 stars 0 forks source link

Images are hard to use as user with UID!=1000 #1

Closed sdrave closed 7 years ago

sdrave commented 7 years ago

When running tests, py.test writes output files in the /src tree. When this tree is owned by a user with UID!=1000, this will typically fail.

As it seems, it is currently not easily possible to mount a volume via -v' and to apply UID mapping. As a simple workaround, I would propose to copy everything form/srcto some other location (or rename the mount point and copy to/src` ...) when the container is started. Read access should typically be possible, and it might be desirable to never modify the mounted source from within the container, anyhow.

sdrave commented 7 years ago

Seems to work with 67d6b25ebd88ae07d4c1d6a57594f5258ae79fae!