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

How to configure bamboo into docker

Anil Shah
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 11, 2019

while running below command

docker run -v bambooAgentVolume:/home/bamboo/bamboo-agent-home --name="bambooAgent" --init -d atlassian/bamboo-agent-base BAMBOO_SERVER_URL

Even after providing BAMBOO_SERVER_URL i'm getting error  

INFO | jvm 23 | 2019/11/12 07:34:34 | 2019-11-12 07:34:34,266 INFO [WrapperSimpleAppMain] [AgentContext] Authenticating against Bamboo server at http://bamboo.xxxxxx.com//agentServer/

INFO | jvm 23 | 2019/11/12 07:34:34 | Exiting due to fatal exception.

INFO | jvm 23 | 2019/11/12 07:34:34 | java.net.UnknownHostException: bamboo.xxxxxx.com: Name or service not known

ERROR | wrapper | 2019/11/12 07:34:34 | JVM exited while starting the application.
STATUS | wrapper | 2019/11/12 07:34:39 | JVM process is gone.

1 answer

1 accepted

0 votes
Answer accepted
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 13, 2019

Hi @Anil Shah ,

The error is due to the container not being able to recognize and reach bamboo.xxxxxxx.com

java.net.UnknownHostException: bamboo.xxxxxx.com: Name or service not known

Add something like 

12.345.678.90    bamboo.xxxxxxx.com

To /etc/hosts file of the Docker container

Anil Shah
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 14, 2019

Thanks @Edwin Kyalangalilwa . This helps :)

Like Edwin Kyalangalilwa likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events