I am running Bamboo 6.3.2 on RHEL7. I have a Deployment task to build an docker images. However the deployment is failing with the error Cannot connect to the Docker daemon. Is the docker daemon running on this host?
I have change the docker socket files groups to dockerroot and added the bamboo user to dockeroot
srw-rw----. 1 root dockerroot 0 Mar 23 14:38 /var/run/docker.sock
uid=168(bamboo) gid=166(bamboo) groups=166(bamboo),164(dockerroot)
I can also execute the build command successfully from command line as the bamboo user.
Your current session may not pick up these changes. After the installation, you should restart bamboo so the docker options can be picked up by Bamboo Server. Ensure the bamboo user is added to the docker group.
Ensure the docker capabilities are also defined in the server too, this could help.
Max - Premier Support Engineer
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events