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.
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 Kyalangalilwa . This helps :)
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.