Defining a new Docker capability
You need to define (that is, 'register') a Docker capability in Bamboo before you can use a Docker task in Bamboo builds and deployments.
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.
New stock images provide Docker out-of-the-box, but you might still need to add the capability manually if you have existing elastic images. See Existing stock images require manual update if new capabilities are needed for more details.
Note that Bamboo requires Docker
Define a Docker capability on an elastic image
- Unable to render {include} The included page could not be found.
- Click Image configurations in the left navigation panel (under 'Elastic Bamboo').
- Click Capabilities (under 'Operations') for the relevant elastic image.
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.
Click Add.
Define a Docker capability on an agent
- Unable to render {include} The included page could not be found.
- Click Agents in the left panel.
- Click the name of the required agent.
- Click the Capabilities tab, and then Add capability (to the right of 'Agent-Specific capabilities').
- In the 'Add Capability' panel:
From Capability type, choose Docker.
For Path, enter the path to the Docker executable, for example
/usr/bin/docker.
Click Add.
Define a Docker capability on the Bamboo server
- Unable to render {include} The included page could not be found.
- Click Server capabilities in the left navigation panel.
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.
- Click Add.