a ubuntu based docker which run jekyll
291
the docker of jekyll which based on Ubuntu.
$docker run --rm -v /etc/localtime:/etc/localtime -v ${path-to-jekyll-on-host}:/srv/jekyll -it -p ${port-in-jekyll-config}:${port-in-jekyll-config} --name docker-jekyll-test alextucc/docker-jekyll
For example, in my case of alex-tu-cc.github.io
$ docker run --rm -v /etc/localtime:/etc/localtime -v /home/alextu/private/blog/alex-tu-cc.github.io:/srv/jekyll -it -p 4001:4001 --name docker-jekyll-test alextucc/docker-jekyll
Content type
Image
Digest
Size
140.5 MB
Last updated
almost 10 years ago
docker pull alextucc/docker-jekyll