Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Docker runner with custom run commands

Mark Kewley
Contributor
March 26, 2018

Hello,

 

Is it possible to use the new Docker runner feature with specific run arguments for docker? (e.g. adding the --privileged flag).

 

When building a plan and configuring a build job, the docker container task has the ability to add arguments to the run command. Wondering if we can do something similar.

 

Screen Shot 2018-03-26 at 1.07.30 PM.png

 

Thanks!

 

1 answer

1 accepted

4 votes
Answer accepted
Ellie Z (they/them)
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018 edited

Hi Mark,

Thank you for reaching out to the Atlassian Community regarding Docker Runner!

Unfortunately, it's not possible to use Docker runtime arguments with Docker Runner at this time. 

I do understand that we can do this with the Docker Tasks in Bamboo, and I have created a Feature Request, linked below, which I strongly encourage you to vote, watch, and comment on:

[BAM-19793] Allow use of arguments for Docker Runner

Please don't hesitate to reach out if you have any other questions!

Cheers,

Elias | Bamboo Support

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events