I am wondering if it is possible to customize the Docker Runner Run Command. Unfortunately the bamboo agents use the --net=host option which makes it impossible to harden some security features (using namespaces) and makes it difficult to use gVisor.
Happy for any recommendations
It is not possible to customize it. There is a feature request to allow the custom configuration:
I advise you to vote on that feature request and set yourself as a watcher to receive updates. At the moment I can't think of any workaround for this.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events