I need to access some EOS dirs inside a Docker container. To be clear, I don’t need to mount EOS inside the container, I just want to make a single path available. Is this possible?
So far, I’ve had no success, here’s what I tried:
- Get a Kerberos ticket, eosfusebind -> all works ok, I can see inside /eos/project/c/cernvm …
- I try to run a Docker container binding the directory:
# docker run -it --rm -v /eos/project/c/cernvm:/eos/project/c/cernvm ubuntu:xenial bash
and I get an error:
Error response from daemon: Cannot start container 382800caa21d0121956e43fb9aa16bfb749731e763ee78c75d27aa915d71c4bc: stat /eos/project/c/cernvm: permission denied
The error also occurs if I run the container with “–privileged=true”.
Any help is appreciated, let me know if I can provide more info.