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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events