Defining a new Docker capability

お困りですか?

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

コミュニティに質問

A capability typically defines the path to a module or executable that has already been installed, and must be defined in Bamboo before Bamboo or its agents can make use of that. That is why you need to define a Docker capability in Bamboo before you can use a Docker task or the Docker Runner feature in Bamboo builds and deployments.

はじめる前に

Define a Docker capability on an elastic image

  1. Click the  icon in the Bamboo header and choose  Overview.
  2. Click Image configurations in the left navigation panel (under 'Elastic Bamboo').
  3. Click Capabilities (under 'Operations') for the relevant elastic image. 
  4. Use the 'Add Capability' panel at the end of the page to add the new Docker capability to the image:

    • From Capability type, choose Docker.

    • For Path, enter the path to the Docker executable, for example /usr/bin/docker.

  5. 追加をクリックします。

Define a Docker capability on an agent

  1. Click the  icon in the Bamboo header and choose  Overview.
  2. Click Agents in the left panel.
  3. Click the name of the required agent.
  4. Click the Capabilities tab, and then Add capability (to the right of 'Agent-Specific capabilities').
  5. In the 'Add Capability' panel:
    • From Capability type, choose Docker.

    • For Path, enter the path to the Docker executable, for example /usr/bin/docker.

  6. 追加をクリックします。

Define a Docker capability on the Bamboo server 

  1. Click the  icon in the Bamboo header and choose  Overview.
  2. Click Server capabilities in the left navigation panel.
  3. Use the 'Add Capability' panel at the end of the page to add the new Docker capability to the server:

    • From Capability type, choose Docker.

    • For Path, enter the path to the Docker executable, for example /usr/bin/docker.

  4. 追加をクリックします。

For more information about Bamboo and Docker integration, see Getting started with Docker and Bamboo




最終更新日 2019 年 9 月 23 日

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

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