Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cannot connect to the Docker daemon


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.



1 answer

0 votes
MB Atlassian Team Mar 26, 2018

Hi Isa,

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

64 views 0 4
Read article

Community Events

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

Events near you