- [Instructor] Single-node Docker swarm mode cluster…still has the problem of single point of failure.…Even if we deploy a multi-container application on it,…it's still going to fail if the node goes down.…Let's take a look at how can I create…a multi-node swarm mode cluster using Docker Machine.…If you remember, we talked about Docker Machine…in the very first chapter…where it was a way by which we can create…multiple Docker Engines on my host itself.…We saw how easy it is to initialize swarm mode.…So we say docker swarm init…and in case I want to specify a listen address…that this is where I'm going to be listening for request…for other managers or workers to join me.…

I can specify an IP address.…Typically your machine…would be running multiple network interfaces.…You could specify the IP address on which…you want to accept those requests.…When you are creating a worker,…let's say you have a new Docker Machine,…you can make that worker machine join the manager…and from the manager, you have to obtain…either a worker token or a manager token…

Resume Transcript Auto-Scroll

Author

Released

4/21/2017

Docker—a leading software container platform—can simplify the overall application delivery experience by providing a common platform for collaboration. Docker integrates seamlessly with existing tool chains, making it easier to deliver software rapidly. In this course, discover how to get started with Docker, and learn tips and tricks tailored for Java developers working with the platform.

Arun Gupta explains how to run containers and build images, as well as how to deploy multi-container applications on multiple hosts. Arun also covers Docker clustering, demonstrates how to run stateful containers, shares strategies on how to persist the state of stateful containers, and goes into monitoring Docker containers.