How to deploy Hugo with Docker

Prerequisite Linux Server Public IP address (Optional) Docker & Docker compose Docker images mirror or proxy Git (Install Hugo themes need to use Git) (Optional) Getting Started 🚀 Create a Hugo root directory. E.g.: /opt/hugo mkdir /opt/hugo cd /opt/hugo Pull Hugo docker image. (Unofficial, but recommend.) docker pull hugomods/hugo:debian-non-root-0.151.2 # or use docker images mirror. "docker.z5r.org" is myself mirror site. You also use other mirror site. docker pull docker.z5r.org/hugomods/hugo:debian-non-root-0.151.2 Initial Hugo project. You can remove this docker container at later. ...

October 19, 2025 · 3 min · ZetoHkr

My first Hugo post.

Welcome to my first Hugo post! 🎉

October 19, 2025 · 1 min · ZetoHkr