Jekyll on Docker for Windows
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.
After rebooting, Docker will ask you to create an account. It’s free and great for keeping your containers available anhywhere.
To get started with Jekyll, clone your favorite theme from Github: Themes
Start the Jekyll Container with this command:
Docker will ask you to share the drive referenced in the command:
Give it your credentials:
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: