Bamboo Agent in docker container is not recognized by Bamboo Server

Aslhey Ramírez January 15, 2016

Bamboo server is installed in a docker container, I need add any Bamboo agents as docker container too, and then I make what this guide say Getting started with Docker and Bamboo.

Server is runnig in 192.168.1.15:8085 and remote agent support is enabled, then I run Bambo docker container as follow:

 

$docker run -e HOME=/root/ -e BAMBOO_SERVER=http://192.168.1.15:8085 -i -t atlassian/bamboo-java-agent

 

but I get in Online remote agent tab:

 

There are currently no online remote agents configured on this Bamboo instance.

 

and below:

Jan 15, 2016 3:09:30 PM A remote agent is loading on 77524df60fda (172.17.0.1).

 

How can I make Bamboo server recognize agents?

 

Note:Bamboo server is a trial

3 answers

0 votes
s2zaman April 18, 2017

Got it solved by updating Broker URL and Broker Client URL to hold the private IPs being used within VPC.

Also updated the IP for agent at bamboo-agent-home/conf/wrapper.conf

Siva susheendar T April 23, 2020

Could you please give details about the resolution you implemented on this.

0 votes
s2zaman April 7, 2017

Have this very same issue.

Tried alot but not resolved yet.

Still working to get it up-and-running. :) 

0 votes
awlawl February 1, 2016

I have the same issue. I wonder if docker agents are being seen as remote since they are not accessing the server via localhost. I would love some official clarification.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events