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

docker-compose sample task



I just downloaded bamboo-6.3.0. This newer release comes with support for yaml or docker compose.

I have no idea where and how to use this capability, but I need to.

Is there a clear explanation on how to use yaml in a build task anywhere?


thank you

2 answers

So, here's how I got it to work:

  1. Create a new Script Task
  2. Set the Script Body to `docker-compose up -d`
  3. Set the Working Subdirectory to wherever the docker-compose.yml is located

And then, don't forget to set the following final task, which is pretty much identical, only with the following script body instead:

  • `docker-compose down`
0 votes
rsperafico Atlassian Team Jan 09, 2018

Hello @Tome Petros,

Please, refer to Bamboo YAML Specs for further information.

Kind regards,


I've looked at the link, and this does not help me. In essence, the contents of the linked site tells me how to do something that is different than what I want to do.


Basically, I have a working docker-compose.yml in the repository at a location where on my local machine, I just need to run `docker-compose up` and it works.


The questions I seek answers to are:

  1. Is it possible to tell the docker runner something like "perform `docker-compose up` in this and that directory in the project?
  2. If not, why?
  3. What is the best alternative to doing it this way?
Like Jamie C likes this

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

189 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