This image will provide you mkdocs. Some examples of its usage:
docker run -it --rm -v `pwd`:/docs jobandtalent/mkdocs new my-project
If you are inside a VM (boot2docker or similar) you will need to set the host to 0.0.0.0:
cd my-project
docker run -it --rm -v `pwd`:/docs -p 8000:8000 jobandtalent/mkdocs serve -a 0.0.0.0:8000
cd my-project
docker run -it --rm -v `pwd`:/docs jobandtalent/mkdocs build
If you want to generate them in other place mount /docs/site as a volume:
docker run -it --rm -v `pwd`:/docs -v $HOME/Desktop/site:/docs/site jobandtalent/mkdocs build
Content type
Image
Digest
sha256:50282a74b…
Size
42.5 MB
Last updated
over 10 years ago
docker pull jobandtalent/mkdocs