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,293,647
Community Members
 
Community Events
165
Community Groups

How can i run a task with docker runner?

When I select the "Run this job in docker container" option under the "Isolate Build" subheader in "Edit docker configuration" I cannot run any tasks for that job.

For example I have a task that just runs the executable /bin/ls, but when I try to run the job, I get this error:

This task can't be executed in Docker. Use different task or run this build in Agent environment.

I have added the Docker executable as a shared remote capability.

So how can I run commands in my docker with docker runner? 

1 answer

Hi @Katie Mata ,

Please add screenshots of your configuration.

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

912 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