BHK Code Vault

Running Jekyll in Docker - within virtualBox

Recently I’ve started using Jekyll again and for ease sake I chose to run it from docker, to escape all those pesky dependicies from jekyll running amok with my stable sustem(!). No, seriously, it just makes things easier to maintain. So the next thing is running Docker inside a Ubuntu server in Virtualbox. That gives me the advantage of VB’s built-in snapshot features, great for backups.

Setting up Docker

Ubuntu server can be installed with Docker already from the get-go from its options screen, after that it just works. Adding Guest additions initally, then running these:

Starting Docker

sudo docker compose up -d
#ubuntuserver, #virtualbox, #jekyll