Introducing Docker Hugo - a CircleCI 2.0 Ready Docker Image


I’ve created and maintain several websites that are statically-generated with Hugo (including the one you’re reading right now). I build and test these sites with CircleCI. With CircleCI 2.0, the build process is heavily Docker based. I made a Docker image for use with CircleCI that has Hugo to build the site and HTMLProofer to test it.

Here’s my blog post if you’d like to read more:

I visit this forum frequently so feel free to comment on my blog or here, I’ll see either.

One note from me, I’ve seen several Docker images for Hugo now. One things I can say for mine which I haven’t always seen for the others is that this will be maintained. I don’t really have a choice as I use it for several sites. :stuck_out_tongue:


Also created a little logo and shared on Product Hunt. Any feedback would be greatly appreciated, especially if you use Hugo on Travis CI as I’ve only tested this image on CircleCI so far.


Thanks for making and maintaining the Hugo docker image. Very helpful! :slight_smile:

One tip for people who also land on this topic through Google search, the CircleCI code example for this Docker image on GitHub is incorrect.

There it reads:

  - image: felicianotech/docker-hugo:0.50

This should be:

  - image: cibuilds/hugo:0.50

Else you’ll get the ‘Error response from daemon: manifest for felicianotech/docker-hugo:0.50 not found’ error message in CircleCI.

Just a heads up for other people who want to try CircleCI and immediately get such an error. :+1:


Thank you for bringing attention to this. I’ve updated the readme in the repo.


Thank you again for making the Hugo docker image. I really like working with the image, and the included html-proofer works good too! Also props to CircleCI because it’s pretty cool what’s possible with their service, even with their generous free plan. :+1: :slight_smile: