Jekyll 3.0 (BETA) running in a Docker container
1.1K
Well, this is a running target, but for now:
When using in interactive mode with the settings from 'start.sh':
## change directory to the mount point
cd /project
## generate skeleton in new subdirectory demo (must be done only once)
##
## If you wish to install jekyll into the current directory, you can do so by
## alternatively running "jekyll new ." instead of a new directory name
jekyll new demo
cd demo
## IMPORTANT: serve website on all ips
jekyll serve -H 0.0.0.0
The setting -H 0.0.0.0 is necessary, otherwise you won't see anything from outside the container. If you use jekyll in interactive mode you can call just js which is an alias for jekyll serve -H 0.0.0.0.
Now navigate from outside to localhost:4000 or 127.0.0.1:4000 and you will see the generated website.
/home/app.bashrc.Content type
Image
Digest
sha256:c734277d3…
Size
236.1 MB
Last updated
about 11 years ago
docker pull sys42/docker-jekyll3