The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Config docker task running hello-world container in bamboo

David Chin
February 9, 2020

HI I'm trying to just do a hello-world bamboo exercise by running a container, I have already added a task to pull from docker hub hello-world, but in the run container task under docker image, what do I type in?  Just hello-world? Or https://hub.docker.com/_/hello-world ?  

I just typed in hello-world and I got error:

/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"docker\": executable file not found in $PATH": unknown.


Failing task since return code of [/usr/bin/docker run --volume /home/bamboo-admin/bamboo-home/xml-data/build-dir/mybuildDIR:/data --workdir /data --rm hello-world docker run hello-world] was 127 while expected 0

Update:  I got it to work now, not sure why, but I removed the default /data folder under a run container and that worked.  

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events