How to disable the Docker Runner feature globally in Bamboo
Purpose
Bamboo 6.4 introduced a new feature, Docker Runner which allows a job to be executed within a Docker container rather than directly within the agent environment. It's enabled by default but this guide will show you how to disable it globally on your Bamboo instance.
Once disabled:
- The UI tab, Job Configuration > Docker will no longer be accessible.
- Bamboo Specs with Docker Runner config will be rejected on publish.
- Any existing jobs that have been configured to run with Docker Runner will revert back to standard agent environment builds when executed.
Solution
There's a system property you can supply to Bamboo to completely disable Docker Runner:
- Edit your
<bamboo-install>/bin/setenv.sh
- See Configuring your system properties for other methods of configuring system properties for Windows installations.
Add the argument
-Dbamboo.docker.pipelines.disable=true
to yourJVM_SUPPORT_RECOMMENDED_ARGS
. Example:: ${JVM_SUPPORT_RECOMMENDED_ARGS:="-Dbamboo.docker.pipelines.disable=true"}
- Restart Bamboo
Last modified on Sep 10, 2018
Powered by Confluence and Scroll Viewport.