How to disable the Docker Runner feature globally in Bamboo

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

目的

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.

ソリューション

There's a system property you can supply to Bamboo to completely disable Docker Runner:

  1. Edit your <bamboo-install>/bin/setenv.sh
    1. See Configuring your system properties for other methods of configuring system properties for Windows installations.
  2. Add the argument -Dbamboo.docker.pipelines.disable=true to your JVM_SUPPORT_RECOMMENDED_ARGS. Example:

    : ${JVM_SUPPORT_RECOMMENDED_ARGS:="-Dbamboo.docker.pipelines.disable=true"}
  3. Restart Bamboo

最終更新日 2018 年 9 月 10 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.