-
Suggestion
-
Resolution: Unresolved
Please add a setting in bitbucket-pipelines.yml to allow docker images to be started with the "--privileged" flag.
Use: privileged flag allows network configuration needed for VPN connection used for deployment to dev/qa server.
- is cloned from
-
BCLOUD-13420 Allow Docker Image "--privileged" Flag
- Closed
Form Name |
---|
8ed621fe5b2e I have still not heard/seen anything regarding actually being able to use USB devices from the self-hosted docker runner.
To bypass this issue, I currently use the self-hosted Linux shell runner (aka. 'linux.shell'). That allows me to run jobs as the normal user of the computer I use. This is not very nice though, since a bad job can mess up the whole computer setup potentially. Also, if you don't run the shell-runner as sudo (which I don't recommend), you may need to add your user to dialout or some other group with access to the USB devices, eg. with
sudo usermod -a -G dialout <my-user>.