Creating a local Jekyll site has never been easier. Use a precreated Docker container to get up and running straight away and learn some cool new tech on the fly, if you haven’t messed around with Docker before.

Download the Docker Installer here

Just follow the instructions here and you will be good. Stick with the Linux containers for the Jekyll setup - you can always change this later.

The installaton requires you to log out.

If your Windows 10 is as vanilla as my Azure Windows 10, Docker will want to install Hyper-V and reboot. dockerlogout

After rebooting, Docker will ask you to create an account. It’s free and great for keeping your containers available anhywhere. dockeraccount

To get started with Jekyll, clone your favorite theme from Github: Themes

cd C:\Dev\
git clone https://github.com/pages-themes/hacker.git

Cloning into 'hacker'...
remote: Counting objects: 269, done.
Receiving objects:  63% (167/269)   0 (delta 0), pack-reused 269Receiving objects:  54% (146/269)
Receiving objects: 100% (269/269), 71.20 KiB | 1.32 MiB/s, done.
Resolving deltas: 100% (121/121), done.

Start the Jekyll Container with this command:

docker run --rm -v C:\lab\hacker\:/srv/jekyll -p 4000:4000 -it jekyll/jekyll jekyll serve

Docker will ask you to share the drive referenced in the command: dockershare

Give it your credentials: dockersharecredentials

Docker will start to pull the container. The container is usualy always up to date and is maintained by the super cool Jordan Bedwell here

Once it is done, you can browse your new Jekyll theme offline: hackerlocal