新しい Docker 機能を定義する
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.
はじめる前に
Make sure you have Docker installed. We recommend using the latest version of Docker. If you have restrictions on the version of Docker that you can run, review the 2020-05-06_21-51-21_.Supported platforms v7.0 page for your Bamboo version.
For Bamboo 5.8, and later versions, Stock images already provide Docker, but you might still need to add the capability manually if you have upgraded from Bamboo 5.7 or an earlier version. See Existing stock images require manual update if new capabilities are needed for more details.
エラスティック イメージの Docker 機能を定義する
- Click the icon in the Bamboo header and choose Overview.
- 左側のナビゲーション パネルで ([Elastic Bamboo] の下にある) [イメージ設定] をクリックします。
- ([操作] の下にある) 該当するエラスティック イメージの [機能] をクリックします。
ページの最後にある [機能を追加] パネルを使用して、新しい Docker 機能をイメージに追加します。
[Capability Type (機能タイプ)] から [Docker] を選択します。
[パス] に、Docker 実行ファイルへのパスを入力します (例:
/usr/bin/docker
)。
[追加] をクリックします。
エージェントの Docker 機能を定義する
- Click the icon in the Bamboo header and choose Overview.
- 左ペインで [エージェント] をクリックします。
- 目的のエージェントの名前をクリックします。
- [機能] タブをクリックしてから、([エージェント固有の機能] の右側にある) [機能を追加] をクリックします。
- [機能を追加] パネルで、
[Capability Type (機能タイプ)] から [Docker] を選択します。
[パス] に、Docker 実行ファイルへのパスを入力します (例:
/usr/bin/docker
)。
[追加] をクリックします。
Bamboo サーバーの Docker 機能を定義します。
- Click the icon in the Bamboo header and choose Overview.
- 左側のナビゲーション パネルで [サーバー機能] をクリックします。
ページの最後にある [機能を追加] パネルを使用して、新しい Docker 機能をサーバーに追加します。
[Capability Type (機能タイプ)] から [Docker] を選択します。
[パス] に、Docker 実行ファイルへのパスを入力します (例:
/usr/bin/docker
)。
- [追加] をクリックします。
For more information about Bamboo and Docker integration, see Getting started with Docker and Bamboo