Docker Swarm mode setup with Docker Machine Last time we took a look on how to setup local swarm with Docker 1.21. This time we will extend that a bit and see how to use Docker Machine to accomplish the same setup. Docker Machine allows to specify where our environment will be running by using different “drivers” to provision multiple remote Docker hosts on various flavors of Linux. At the moment big set of drivers is supported, in our example we will use Digital Ocean as a host for swarm nodes.
Setup Docker 1.21 in swarm mode Starting with version 1.21, docker engine includes native support for “swarm” mode. Newly introduced services can now be deployed, scaled and managed on the docker swarm cluster. Cluster management and orchestration commands are directly embedded in docker engine but you can still use docker engine in “standalone” mode to manage individual containers. There is already an excellent getting started guide provided by official docker documentation that can help you in understanding main concepts of the swarm mode.
Welcome to my blog! Well I guess this is the start of something new. I never had a blog before and I hope this will help me to share some thoughts and ideas. Who knows where this journey will take us but I hope you will enjoy the ride.