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

How can i run a task with docker runner?

Katie Mata April 25, 2019

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

0 votes
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2019

Hi @Katie Mata ,

Please add screenshots of your configuration.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events