Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,564
Community Members
 
Community Events
165
Community Groups

using docker-compose in bamboo

Hi,

I need to run multiple docker containers at the same time and need to mount volumes to one of the containers and docker-compose.yml files are the best way to manage this. However, I am not sure how can I run docker-compose files in Bamboo as its not a capability. I am using Bamboo version 7.

Since docker is a capability I have tried using a docker-compose image in a Docker container in my Bamboo plan. I have two tasks in my Job so first one checks out the source code and the second task runs a shell script containing the command "docker-compose up". When bamboo downloads the docker-compose image and then runs the shell script it keeps running into an error message saying "Couldn't connect to Docker daemon at http+docker://localhost - is it running?" 

Does anyone have any idea on how to solve this issue?

0 answers

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

947 views 3 8
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