Jekyll as a docker container
I am a big fun of Docker and I hate installing software on my laptop. I was an early adopter of virtual machines and I have always installed all my development tools on a virtual machine. I really liked the idea of Jekyll and it kind of reminds me the old days, when we used to build web sites using FrontPage.
Jekyll required Ruby and that was a showstopper for using it. Docker to the rescue again. In the following github project, you can find a containerized version of jekyll where all of these dependencies are available in the container
In order to get started, execute the following command:
If everything went smoothly then you a new site was created in the current folder by the container. You should be able to see a bunch of files and directories in the blog directory.
In order to build it, execute the following command:
A new directory was created, “_site” containing your actual website (html based on the markdown posts).
You can run it locally by executing: