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,463,400
Community Members
 
Community Events
176
Community Groups

Run builds concurrently on a single Remote Agent using Docker

I know that you can normally only run builds sequentially on a single remote agent but is it possible to run builds in parallel on a single remote agent if you use the Docker runner to isolate each build in its own container?  At one point we used VMware to accomplish this by creating many virtual machines but it was difficult to manage and required a lot of computing power.  Docker would be much easier to manage and with the container isolation I would think it has the potential to solve the problem of only one build per agent at a time.

1 answer

1 accepted

0 votes
Answer accepted

Hi @jamesmatlock,

No, since it will still be running in a single remote agent.

You'll have to run multiple containers each as a remote agent and docker can be a capability in each one. If your Bamboo server has Docker then you'll only add one more remote agent.

@Edwin Kyalangalilwa, Thank you for your response.  I'm really new to Bamboo.  So if I understand correctly, I can run multiple agents on a single remote piece of hardware which has the functional capability to do so.  Each agent just needs to have its own space to work out of.  Is that correct?  I don't, necessarily, need Docker to make that happen.  There are other reasons to have a standardized Docker container for testing though.

edwin Rising Star Sep 13, 2018

Basically each server counts as an agent. 

I can run multiple agents on a single remote piece of hardware which has the functional capability to do so.

Bamboo server itself counts as an agent (local agent). So this is where Docker would come into play.

How much remote agents are you licensed for?

So for example to run builds in parallel in Docker - you would have Docker installed on the local agent and another installed in a Docker container as a remote agent. Bamboo will recognize that there are two capabilities of Docker.

Right, so it would seem that there is no issue with having multiple Docker containers in existence with their own remote agents installed in them executing different plans simultaneously on the same computer.  Is that a correct assessment?

edwin Rising Star Sep 13, 2018

Yes, that is correct.

Thanks again.  I guess terminology was the sticky point for me.  Once the terminology became clear everything fell into place (ie what's an agent vs the hardware it runs on).  I had been reading questions from other people and I think it was their use of the terminology that had me confused.  You cleared that up for me.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events