Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Docker Isolated Environment Edited

Currently I am able to run docker containers as a docker task. Now I am trying to get a docker isolated environment working.


For some reason I am not able run a script task.

/tmp/ 4: /tmp/ /var/atlassian/application-data/bamboo/temp/ not found


My assumption is that the script is being created after the docker container has been created.


Would really appreciate the communities expertise



2 answers

Hi @joshysav

I was able to reproduce this scenario by removing the volume mounting point from the job docker runner configuration.

I've opened this bug to report this issue:
[BAM-20643] Docker runner: removing volume breaks job tasks.

If your problem is exactly the same, please try adding back the volumes needed for the right plan operation.

Go to Job configuration >> Docker >> Volumes and make sure you have the following volumes configured:

|Host directory             |Container directory        |
|${} |${} |

Let me know if that fixes the issue.


Hey Daniel,

Thanks for taking the time to reply!

I had these volumes added. But still seem to getting this issue.

com.atlassian.bamboo.docker.DockerException: Error running Docker run command
 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(
 at com.atlassian.bamboo.utils.BambooRunnables$
Caused by: com.atlassian.utils.process.ProcessException: Error executing /usr/bin/docker exec 68822519-8faa-4245-a2fd-962ec4f8a1e41507330 /tmp/
 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(
 at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(
 ... 11 more

Hi @joshysav

As your logs show the error is different now, which is progress.
Investigating this new error I was able to find a bug:

Can you please confirm if the docker image you are using specifies a user different other then root in the docker file?
This problem was fixed in 6.7.0. Can you share your Bamboo version?

Thanks Daniel.


I am not specifying another user. 


Bamboo version 6.9.2 build 60911

Hi @joshysav

Is docker runner working with other docker images?
Would you mind checking this?

We might be facing a different issue and isolating the problem will help us to understand what is causing it. It would be even better if we can reproduce it.

Hey Daniel,

I haven't had time to investigate this further. But essentially the issues kept arising whilst trying to use bamboo docker isolated environments whilst running a bamboo instance inside a container. 

In the future I hope to revisit this issue. Thanks for your time!

That is so strange, yeah, come back when you have time to investigate this.
Thank you for your reply! =]

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

223 views 4 6
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