- Export redis to a container.
sudo hab pkg export docker core/redis
- Create some docker network
docker network create --subnet=192.168.123.0/24 hab-crash
- Start three containers, in three terminals
bash node-a.sh
bash node-b.sh
bash node-c.sh
- Kill any of the nodes a few times, and it does not elect a new leader again.
demo: https://www.youtube.com/watch?v=cVIH87B-ZO0