Official Web page MKDOCS can be found here .
Generate static sites from Markdown files
Fork & then clone the git repository mkdocs sample web on your computer.
Run the docker container.
# amd64:
docker run -it --rm --name docfx -p 8080:8000 -v {mkdocs sample web folder}:/site docker.io/pheese/mkdocs-cmd:amd64
# arm64:
docker run -it --rm --name docfx -p 8080:8000 -v {mkdocs sample web folder}:/site docker.io/pheese/mkdocs-cmd:arm64
# Create a new mkdocs site
mkdocs new
# Build static site
mkdocs build
# Start web server
mkdocs serve --dev-addr 0.0.0.0:8000
# /script/entrypoint.sh builds site and starts web server (Also fixes permission issue running the first time)
/script/entrypoint.sh
Content type
Image
Digest
sha256:0748916e3…
Size
381.5 MB
Last updated
almost 2 years ago
docker pull pheese/mkdocs-cmd:amd64