Ajeet Raina Docker Captain, ARM Innovator & Docker Bangalore Community Leader.

Adding new Host to Docker Swarm & Universal Control Plane through Docker Machine

37 sec read

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.

Swarm_1

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

Swarm_2

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.

Swarm-3

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

Swarm_4

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:

Swarm_5

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

Swarm_6

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

Swarm_7

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

Have Queries? Join https://launchpass.com/collabnix

Ajeet Raina Docker Captain, ARM Innovator & Docker Bangalore Community Leader.

7 Replies to “Adding new Host to Docker Swarm & Universal Control…”

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

  2. 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

  3. 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.

Leave a Reply

Your email address will not be published.