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.
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.
@[deleted] 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that is correct.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.