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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 @James Matlock,

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 Community Leader 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 Community Leader 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
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

694 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you