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

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

How to configure bamboo into docker

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 Community Leader Nov 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

Thanks @edwin . This helps :)

Like edwin likes this

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...

595 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