Spread the love


In our previous post, we spent considerable time in understanding what is Universal Control Plane(UCP) and how to add hosts to UCP.  For UCP to work, swarm cluster is a per-requisite, hence let’s understand how to quickly setup Swarm agent node through Docker Machine.


By this time, you will be able to see a new Docker-8 instance gets created.


Let’s open up Docker-8 instance which we created by clicking on SSH at the right end. Though you can also use Docker-Machine to login to run commands.


Finally, I am going to add this new machine to existing swarm cluster as shown below:


Ensure that the right token is added as shown above.

You will be able to see the new node added to the swarm cluster as shown below:


Finally, add this new node to UCP as shown below:


Let’s verify that UCP has detected the 3rd Node in the swarm cluster.


Hurray !! We have added a new node to the swarm cluster and then got it reflected under Universal Control Plane.


Spread the love

Ajeet Raina

My name is Ajeet Singh Raina and I am an author of this blogging site. I am a Docker Captain, ARM Innovator & Docker Bangalore Community Leader. I bagged 2 special awards last year(2019): Firstly, “The Tip of Captain’s Hat Award” at Dockercon 2019, San Francisco, and secondly, “2019 Docker Community Award“. I run Collabnix Community Slack with over 5300+ audience . I have built popular GITHUB repositories like DockerLabs, KubeLabs, Kubetools, RedisPlanet Terraform etc. with the support of Collabnix Community. Currently working as Developer Relations Manager at Redis Labs where I help customers and community members adopt Redis. With over 12,000+ followers over LinkedIn & close to 5100+ twitter followers, I like sharing Docker and Kubernetes related content . You can follow me on Twitter(@ajeetsraina) & GitHub(@ajeetraina)


bhushan Kumar · 27th December 2015 at 4:58 pm

Good post.BTW..did you try running Docker machine for configuring the swarm cluster too instead of manual commands inside each docker host?

Johnc130 · 18th October 2016 at 5:46 am

Really informative article post.Thanks Again. Awesome. cgeecaefdcbb

Smithd196 · 18th October 2016 at 5:46 am

I do believe all of the ideas you’ve offered for your post. They are really convincing and will definitely work. Still, the posts are very quick for newbies. May just you please extend them a little from next time? Thank you for the post. edbkgeedckdcaadc

AhmedESkyers · 18th November 2016 at 4:33 am

Thanks for sharing your thoughts about reviews.


JasonYMillan · 18th November 2016 at 5:23 am

It’s an amazing bit of writing intended for every one of the online users; they will obtain benefit from using it I
am certain.

LoganHPullie · 18th November 2016 at 6:03 am

Aw, this was a very nice post. Taking the time and actual
effort to generate a good article but what can I say I procrastinate a lot and don’t manage to
get anything done.

TifanyCCutia · 18th November 2016 at 6:42 am

This page was… how will you say it? Relevant!!
Finally I’ve found a thing that helped me. Thanks a whole lot!

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Collabnix SlackIt's 100% FREE!

Get chance to chat with 5500+ DevOps Engineers !