Image Overview: hugo

Overview: hugo Chainguard Image

This is a minimal Hugo image. The image only contains hugo and supporting libraries. The hugo process start in /hugo by default so this directory may be initialized with the Hugo site to serve.

Here is an example using the Hugo image to run the “quickstart” locally:

# Start a shell in the Hugo "dev" container:
docker run -ti --rm -v -p 8080:8080 --entrypoint=/bin/sh \

# Pass the quickstart commands (changing the bind address and port)
hugo new site quickstart
cd quickstart
git init
git submodule add themes/ananke
echo "theme = 'ananke'" >> config.toml
hugo server --bind --port 8080

Now open your browser to localhost:8080!