A working GitHub-pages container
8.9K
docker run --volume="$PWD:/root/project:delegated" --publish 4000:4000 -ti mrseccubus/github-pages
This runs a Jekyll server ala Github pages locally. Input is take from the current directory and output is put in _site
Any argument provided to the docker container will be added to the Jekyll command. e.g.
docker run --volume="$PWD:/root/project:delegated" -ti mrseccubus/github-pages build
Will just build the site in ./_site and quit.
Content type
Image
Digest
sha256:0351dc829…
Size
316.8 MB
Last updated
almost 2 years ago
docker pull mrseccubus/github-pages