It is important in every solution to have some recovery techniques. In the container world, this is no different. There are many ways to skin this cat, such as load balancing with HA proxy or even using a container-based application that was built for this purpose such as interlock (https://github.com/ehazlett/interlock). If you have not checked out interlock, it's awesome!!! There are so many combinations of solutions we could use depending on the underlying application. So here, we are going to look at the built-in HA in Docker Swarm. From there, you could use something like an interlock to make sure that there is no downtime in accessing your containers.
Docker Swarm has two kind of nodes: master nodes and member nodes. Each one of these has different built-in protection for failure. The first node type we will look at is master nodes.
In the last topic, we set up a health check to get the information regarding our Swarm cluster. There, we saw that we had...