Creating a Jekyll Site with Docker

Although it only takes a minute to create a Jekyll site, you could easily spend a large chunk of your life installing the environment. A query on the Write the Docs forum prompted me to share an easier way. In this post, I’ll show you how to create a Jekyll site in three steps, using the free Docker Community Edition and Bret Fisher’s images. If you want to use Docker to preview an existing Jekyll site, take a look at my other tutorial. ...

25 September, 2022 · 3 min · 579 words · Catherine Pope

Previewing Jekyll Sites with Docker

Introduction Jekyll is a beautifully simple way to build and deploy a static website. Well, it’s simple once you’ve got everything installed and configured. Unless you’re already confident with Ruby, it’ll probably take you most of a wet weekend to get it running consistently. Although the local installation is working well for me, I’m nervous it’ll break. I’m already encountering a few Ruby conflicts with other projects. Resolving those issues isn’t my idea of fun. Given I’ve been doing a lot of work with Docker lately, I decided to see whether I could run my site as a container instead. Plot spoiler: yes, I could! ...

14 August, 2022 · 3 min · 590 words · Catherine Pope