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
4,368,370
Community Members
 
Community Events
168
Community Groups

Config docker task running hello-world container in bamboo

Edited

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

Atlassian Community Events