Sign inSign up

madduci/docker-hugo

By madduci

•Updated 1 day ago

Hugo Docker container, powered by Debian Linux and Hugo latest release

Image
0

3.5K

madduci/docker-hugo repository overview

⁠docker-hugo

Hugo Docker container, powered by Alpine Linux and Hugo latest release available at GitHub repository⁠.

To run this image (and to build your pages), you can simply run:

docker run --rm -it -p 1313:1313 -v /host/mysite:/site madduci/docker-hugo server --bind "0.0.0.0"

Beware as entrypoint the application hugo is exposed

⁠Warning

By default, Hugo will run on 127.0.0.1 (default configuration): this will make Hugo unreachable from outside the docker container.

To override this behaviour, just give the extra --bind "X.X.X.X" parameter to serve the specific IP.

Tag summary

Content type

Image

Digest

sha256:6c7239743…

Size

41.7 MB

Last updated

1 day ago

docker pull madduci/docker-hugo