Open lwaldron opened 4 years ago
here are a few related things I found:
Maybe /etc
needs to show up in that graphical interface as shared by MacOS? Otherwise, your solution seems reasonable to me.
I also experienced this issue on my mac.
First I tried adding the entire /etc
in "File sharing". It has been added, but when I tried to use an executable that wanted to access the sudoers file I got an error:
docker: Error response from daemon: Mounts denied: EOF.
time="2020-08-20T10:36:36-04:00" level=error msg="error waiting for container: context canceled"
So I tried sharing just the file: /etc/sudoers.d
, and it worked just fine.
Not sure if that's specific to my setup, but wanted to record this in case sb is looking for a solution in the future.
docker version info:
After a recent Docker upgrade I found bulker broken, e.g. this command from
waldronlab/bioconductor
but the same for all bulker commands:To show the bulker script:
Note, I can see /etc/sudoers.d from the command line:
But I can't find it from the Docker client "File Sharing" graphical directory selection, so I didn't find a fix there. However, by removing the line:
from
which Rdev
, the problem went away. Doing the same towhich _Rdev
I see I don't have sudo access, but otherwise everything seems fine:So perhaps the mac-fix script should just remove the sudoers line?