I'm running Bamboo on an Ubuntu server, where I have installed Docker as well.
The docker command cannot be ran from within a bamboo plan, but there's no problem running it from the terminal.
The error in the build plan is /usr/bin/docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?. but in fact the daemon background process and the service are running and I am able to lift containers directly from terminal...
I have added the ubuntu user to the docker groups, so that the docker commands can be ran without sudo, but I suspect that the Bamboo plans are ran with some other user (which I am not sure how to find out), and that is why Bamboo cannot run the docker ... commands.
Any thoughts/suggestions?