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

Need help on bamboo task type docker and command "run a docker container"


In one of the tasks I've created a file with the following to run aws cli

echo "aws glue start-job-run --job-name ${bamboo_job_name}" >>

Then I've created a task with Docker task type (and selected "Run a Docker Container" command and also I've mounted the volume 

${}/script.txt to /data/ (container data volume). 

I was wondering how do I run the script.txt and then mounted that on the container data volume. What "Container command" shall I pass to execute the script.

I've tested the same with a command like "aws sts get-caller-identity" and it worked just fine where I've used "aws sts get-caller-identity" in the "Container command" and mounted volume of the script with creds. 


thanks in advance,

0 answers

Suggest an answer

Log in or Sign up to answer
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...

50 views 0 3
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