Docker Community Forums

Share and learn in the Docker community.

SMB/CIFs mount within container

docker

(Yoshiwaan) #1

Hi,

I’m having difficulty trying to mount a cifs share within a container. It works when I run the container with --privileged but not with --cap-add SYS_ADMIN.

Is this something that requires the --privileged flag (and if so why) or am I just missing certain capabilities (and if so which ones?)

Thanks