For a while now, I was preparing to post more on this blog but managing the content was not so easy as I did not had automated way to publish new posts. Ofcourse, I was able to publish it manually but I do like to automate everyting :-) As an experiment on how to improve this, I have decided to move this blog to be hosted in GitHub pages. This was quite easy to do by following the default guide from the Hugo documentation, however there were some gotchas that I would like to mention here:
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.
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.
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.