grammarly/rocker

Support mount options?

wied03 opened this issue · 4 comments

Just did my first build using MOUNT on an SELinux enabled system. When I try and mount a directory, the SELinux context doesn't match the build container's so I get access denied.

I can workaround this by disabling SELinux during the build but is there any objection to adding support for mount volume options? It looks like it would be a fairly easy change to CommandMount.

Can you set the UID when you perform the docker run command? I had to do something like this when mounting folders using docker not rocker:

docker run -u $(id -u $(whoami)) -d ...

It should set the UID within a container to match that of the host.

@wied03 do you mean something like #161 , but for "MOUNT"?

Thanks for requesting. Unfortunately, we are discontinuing this project. See the notice here: https://github.com/grammarly/rocker/blob/master/README.md

Closing this issue as we are not able to implement it. Sorry.