Hi.
I'am running a self hosted runner.
I want to execute script in a host server, not container.
docker volumes - <host-server ssh-key Path>:/mnt
when i run command in a host server, docker gateway = "172.17.0.1"
docker inspect --format='{{json .NetworkSettings.Networks.bitbucket_new_default.Gateway}}' runner-name | jq
How can i execute command in a host server using pipelines script?
```
G'day, @김주희
Welcome to the community!
I assume you are using Linux docker based on the Yaml above. If yes, a limitation in Linux docker prevents the runner from accessing the host file system.
If you wish to, the options would be via SCP or Rsync if necessary.
For more information on limitations, please check our documentation:
Regards,
Syahrul
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.