Prefer Docker over Vagrant

docker

A year ago I was using Vagrant as my preferred way to develop on my mac as it meant that my development environment matched the target linux deployment and it mostly just worked and kept my mac mostly clean from alien toolchains. My view has changed over the past six months of using Docker - I can develop using a Docker container. Two examples are a Jekyll container to write up this post and a nodeschool one for Node.js tutorials without installing Jekyll and its ruby runtime and the whole node and npm shebang.

My early attempts at using Jekyll (with Github hosting) required going though the ruby install which from memory was ok but it did mean that it took a little while to get going and I am sure I hit a few issues which were solved but annoying. This time on a clean mac I installed Docker for Mac and Kitematic aka Docker For Dummies and then hunted around Docker Hub for a Jekyll image.