Public | Automated Build

Last pushed: 2 years ago
Short Description
Hugo (
Full Description


docker image for hugo
based off of alpine:latest

To pull this image:
docker pull mbentley/hugo

Example usage:

docker run -it --rm mbentley/hugo --help

Run server for development

docker run -it --rm -u "$(shell id -u):$(shell id -g)" -p 1313:1313 -v /data/mysite:/data mbentley/hugo server --bind

Build site

docker run -it --rm -u "$(shell id -u):$(shell id -g)" -v /data/mysite:/data mbentley/hugo -v

Make sure to run the above commands with the -u and -g parameters otherwise you may end up with files that have been written as root:root

Docker Pull Command
Source Repository