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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Requirements in yaml bamboo specs

Hi! I am trying to create a yaml bamboo specs which will be require Docker and linux OS. (But for now focus on Docker)
Unfortunatelly, each of my attempts failed. I know I should be able to use exist capabilities from agents, so maybe somebody can tell me how to create that requirement in *yml file.

File looks that:

key: XXYY
name: build image

- jobs:
- scripts:
- echo 'Build docker image'
- docker build -t x-t .
- Docker

But it doesn't work. I've got an information that no agent can run my job becouse of that requirements. But I know that many of agents has docker installed.
Example screen from capabilities from one of agent:

Could somebody can tell me why I cannot to run that yaml file with requirements? Maybe that requirement value should be written in another way?
Except of docker I want to require linux OS, so if you can tell me how to do that too it will be great. 

Thanks a lot

1 answer

0 votes
Jimmy Seddon Community Leader Mar 23, 2020

Hi @Bartłomiej_Jakubiec,

Welcome to the Community!

I struggle with the Bamboo YAML syntax myself.  If you check out the documentation:

You will see how Atlassian is recommending you format the syntax for requirements, which looks as if it's different than you have defined above.  I'd recommend experimenting with the definition until you get something that works for you.

I hope that helps!


Suggest an answer

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

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

556 views 6 7
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