Defining a new Docker capability

robotsnoindex
robotsnoindex

Error rendering macro 'viewport-redirect'

Cannot invoke "com.atlassian.confluence.pages.AbstractPage.getSpaceKey()" because "redirectToPage" is null

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 

Unable to render {include} The included page could not be found.
 or later.

Define a Docker capability on an elastic image

  1. Unable to render {include} The included page could not be found.
  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. Click Add.

Define a Docker capability on an agent

  1. Unable to render {include} The included page could not be found.
  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. Click Add.

Define a Docker capability on the Bamboo server 

  1. Unable to render {include} The included page could not be found.
  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. Click Add.

 

Last modified on Feb 12, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.