We've configured a linux docker self hosted runner in our environment and need to move build artifacts from the docker container to a windows file share. We do not have ssh or sftp available and cannot use those utilities at this time.
I attempted to mount the windows file share using CIFS as we do something similar on our windows containers (in Jenkins) using net use.
mount -t cifs \
-o username=your_user,password=your_password,domain=your_domain \
//your/file/share \
/mnt/share
However, this does not seem possible as I am getting the following error:
Unable to apply new capability set.
How can I mount my windows file share within a self-runner linux docker container?
Update 2025/10/11:
It appears this this may now be possible with Runtime v3 with the Privileged flag but I'm still not sure on a couple things.
#2 with something like `privileged: true` would be beneficial as I could run multiple steps in the privileged container via the scripts property(ies) rather than encoding them in the docker run command itself (which may be rather long when I have multiple steps).
It appears this this may now be possible with Runtime v3 with the Privileged flag but I'm still not sure on a couple things.
#2 with something like `privileged: true` would be beneficial as I could run multiple steps in the privileged container via the scripts property(ies) rather than encoding them in the docker run command itself (which may be rather long when I have multiple steps).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.