Vdock is a tool with an intergrated IDE for managing hugo site efficiently.
It provides features like
- Integrated IDE (Cloud9)
- Live preview(changes)
- 1-click to create new post
- 1-click to publish final site to github pages
- snippets(markdown) to ease content writing
Prerequisities(One time setup)
Step 1 : Logon to your Github.com account.
Suppose If your github-userid is rchari66 then the repository name would be
rchari66.github.io
$ docker run -td -p 8288:8288 -p 8286:8286 rchari/vdock$ docker run -td -p 8288:8288 -p 8286:8286 -e AUTH=rchari:vdock rchari/vdockopen : http://localhost:8288/
More Ways To Run vdock Securely
$ docker run -td -p 8288:8288 -p 8286:8286 -e AUTH=<username>:<password> rchari/vdock$ docker run -td -p 8288:8288 -p 8286:8286 -e ALLOW_PUBLIC_ACCESS=YES rchari/vdock$ docker run -td -e AUTH=<username>:<password> ALLOW_PUBLIC_ACCESS=YES \
-p 8288:8288 -p 8286:8286 rchari/vdockSelect
hugo-sample-sourceand<Githuh-userid>.github.iorepos forBlog Source:andBlog Destination:
Provide Github email and Github password and then Click on button
Update Configure. This will createblog-sourceandmySitedirectries in the IDE.
Make sure
publishDiris set to../MySite.
publishDir = "../MySite"Update
baseURLtohttps://<Github-userid>.github.io.
baseURL = "https://rchari66.github.io"Simply goto
publishpage and click onPublish Changes(provide a commit message in textbox).
Wait for one or two minutes and then open https://<Github-userid>.github.io to view your site.
In case the site in not available after couple of minutes then refer here for enabling github pages for your repository.
Refer : How to Create blog posts Using vdock
- Support for Gitlab & Bitbucket
- Add Google analytics & disqus config to default themes.
- One click theme(hugo) selection
- Enhance this tool to ease kubernetes related stuff
- 1-Click publish to S3(aws) Bucket
- 1-Click to host the static site on ec2 instance
- Support for dynamic services(Web services by Golang)


