without using volumes -v
I can add --privileged
to docker run
but I can't mount arbitrary volumes because I depend on another tool to create docker containers so my question is how can I get full access to the docker host file system with --privileged=true
, is that enough?
In particular need to access the host /run/
from within the docker container. I can also include --cap-add
so that may help. The only thing I can't do is to mount volumes.
docker run -v /run:/run
-v
but I can do other things like set privileged true or even enable any Linux capability.