Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Mount a Windows fileshare within a self-hosted runner using CIFS

Ryan Taylor
Contributor
October 20, 2025

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?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events