This is an ad-hoc Docker image to operate MkDocs without a need to install Python (i.e., on CI pipelines).
Entrypoint of the Docker image is set to mkdocs.
You can generate new project named project
into host-mounted folder /home/john/mkdocs
by executing:
docker run -v /home/john/mkdocs:/data mkdocs new project
You can serve existing project on build-in MkDocs server. In the below example your project will be accessible on Docker's IP-address and port 8000.
docker run -v /home/john/mkdocs/project:/data -p 8000:8000 mkdocs serve
Licensed under MIT License.