Run docker image
docker run --rm -p 1313:1313 -v $(pwd):/root/hugo krolow/gohugo serve --bind=0.0.0.0
Run hugo command
To be more easy to run i have created one bash script to make life easy...
Once you have download the bash script, and have set to be in your bin path, you can exec as above:
or can point out the folder
hugo /home/krolow/myproject/ serve -w
- Highlight support by Pygments
- Bash (if you want to write inside docker)
- Hugo script to exec as it was directly in host
Licensed under The MIT License
Redistributions of files must retain the above copyright notice.
Vinícius Krolow - krolow[at]gmail.com