Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,946
Community Members
 
Community Events
184
Community Groups

Trouble using docker with bamboo running on windows

I am trying to use bamboo with docker for the first time. My bamboo is running on windows. So I install docker machine. I am using Azure driver where a Ubuntu VM with docker is up and running.

It has been setup correctly. docker machine is started. I can use command line to run docker containers. I am configuring docker task to run a container. I see a warning that "no agent has this capability"

So I need to know how to tell bamboo that docker machine is configured and running and it should use that to run docker containers.

1 answer

0 votes
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 30, 2016

You need to follow the steps outlined in Defining a new Docker capability that are appropriate for your agent configuration:

You need to define (that is, 'register') a Docker capability in Bamboo before you can use a Docker task in Bamboo builds and deployments.

It sounds like you plan to use your local agents, so likely section 'Define a Docker capability on the Bamboo server' applies to your scenario:

  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. Click Add.

I know this is an old question but on a windows server what would the path be for docker? The only examples given are for unix based systems.

Like pablo javier likes this

I tried to stumble through forcing Bamboo to run docker containers. Could get through a number of roadblocks using fake tail command, issues trying to create a volume on other than c drive, but then hit where bamboo attempts to copy a configuration script over with the extension .sh and to the /tmp directory. So that's as far as I can get without some more code development on Atlassian end. Sniff.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events