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

Bamboo Spec Detection Error

I have installed Bamboo 6.5 on dev and Setup Webhook in our Github repo where the java spec is commited.

And now seeing following error in Bamboo

Processing Spec within Docker containerUnable to scan repository <<repo>> <<repoid>> for Bamboo Specs
com.atlassian.bamboo.repository.RepositoryException: Unable to scan repository <<repo>> <<repoid>> for Bamboo Specs
at com.atlassian.bamboo.configuration.external.RepositoryStoredSpecsServiceImpl.lambda$runSpecWithDocker$8(RepositoryStoredSpecsServiceImpl.java:687)
...
...
...
...
Caused by: com.spotify.docker.client.exceptions.DockerException: java.util.concurrent.ExceptionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: com.spotify.docker.client.shaded.org.apache.http.conn.HttpHostConnectException:Connect to localhost:2375 [localhost/127.0.0.1, localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused : connect

 

1 answer

1 accepted

0 votes
Answer accepted

Hi @Siddhant Gogri

Could you please share with us details about your installation? Is Bamboo inside a container? I reproduced this same behavior trying to run a docker container inside a docker container and that is not supported.

thanks

@Gabriel Ribeiro

No, I am not running Bamboo in a container. Nor is there any agent which has docker capabilities.

That is where I am confused, as to why do I get docker related error if there is no docker

@Siddhant Gogri

Did you select the "Process Bamboo Specs in Docker" at Cog icon>Overview>Security settings

@Gabriel Ribeiro Thanks

Didn't know about that option. It worked

It's worked, but there is another problem. Does it need network when scan linked repositories on bamboo. I'm the offline situation when scanning.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

57 views 0 4
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