theanurin/jekyll

By theanurin

Updated about 1 month ago

Jekyll - Transform your plain text into static websites and blogs.

Image

6.4K

GitHub Workflow StatusGitHub Repo StarsDocker PullsDocker Stars

Jekyll

Jekyll - Transform your plain text into static websites and blogs.

  • Simple - No more databases, comment moderation, or pesky updates to install—just your content.
  • Static - Markdown, Liquid, HTML & CSS go in. Static sites come out ready for deployment.
  • Blog-aware - Permalinks, categories, pages, posts, and custom layouts are all first-class citizens here.
  • Free hosting with GitHub Pages

Image reason

  1. The image embedding fixed version of Jekyll to prevent breaking changes in Jekyll and it's dependencies.
  2. Official images do not support ARM64 arch such a Apple M1

Spec

Expose ports

  • tcp/4000 - Jekyll development server listening endpoint
  • tcp/4001 - Jekyll live reloading

Volumes

  • /data - Sources root (bind/mount here your work directory)

Inside

Launch

  1. Start development server in site root directory (where jekyll's _config.yml located)
docker run --interactive --rm \
  --volume ${PWD}:/data \
  --publish 4000:4000 \
  theanurin/jekyll
  1. Open browser http://127.0.0.1:4000/
  2. Edit content and look for hot-reloaded changes in the browser

Support

Development

Build and debug

docker build --tag theanurin/jekyll --file docker/Dockerfile . && \
  docker run --interactive --tty --rm --entrypoint /bin/sh theanurin/jekyll

Docker Pull Command

docker pull theanurin/jekyll