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. From the top navigation bar select cogwheel icon > Elastic Bamboo > Image configurations.
  2. In the Operations section select Capabilities for the relevant elastic image. 
  3. Use the Add capability panel at the end of the page to add the new Docker capability to the image:

    • From Capability type select Docker.

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

  4. 追加 を選択します。

Define a Docker capability on an agent

  1. From the top navigation bar select cogwheel icon > Build resources > Agents.
  2. Select the name of the required agent.
  3. Select the Capabilities tab, and then Add capability.
  4. In the Add capability panel:
    • From Capability type select Docker.

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

  5. 追加 を選択します。

Define a Docker capability on the Bamboo server 

  1. From the top navigation bar select cogwheel icon > Build resources > Agents >Server capabilities.
  2. Use the Add capability panel at the end of the page to add the new Docker capability to the server:

    • From Capability type select Docker.

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

  3. 追加 を選択します。

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




最終更新日 2021 年 8 月 25 日

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

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