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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

How do I run a build inside a docker

We're evaluating bamboo. I've set up a server with one remote agent with docker capability.

I've set up a job to use the remote agent with "Run a Docker container".

It simply does no more then "/usr/bin/uname -n"


WHen I run the job, it fails with the below. I can cut as paste the exact docker run command and run it as my bamboo user just fine. Support asked my why I was trying to do docker in docker... I'm not unless the default instructions use docker in docker...

command	01-Apr-2020 14:39:22	Beginning to execute external process for build 'test-openvpn - build - Default Job #17 (VPN-BUIL-JOB1-17)'\n ... running command line: \n/tmp/ /usr/bin/docker run --volume /home/bamboo/bamboo-agent-home/xml-data/build-dir/VPN-BUIL-JOB1:/data --workdir /data --rm utopia:5000/build-centos76-root /usr/bin/uname -n\n ... in: /tmp\n
error	01-Apr-2020 14:39:23	/tmp/ line 4: /usr/bin/docker: No such file or directory


1 answer

1 accepted

0 votes
Answer accepted

OK, made progress here. There are two docker setting which do two different things. Only use one of them.

There is one in the build step. This is not the one you want to use. You want to use the one under the "Docker" tab instead.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events