Sign inSign up

nicksantamaria/mkdocs

By nicksantamaria

•Updated almost 4 years ago

Docker container for running mkdocs documentation static site generator.

Image
0

4.9K

nicksantamaria/mkdocs repository overview

⁠mkdocs

Docker container for running mkdocs documentation static site generator.

⁠Usage

Run mkdocs serve command in background. Should allow you to view the site on http://localhost:8000⁠

docker run --rm -v $(pwd):/data -p 8000:8000 -d nicksantamaria/mkdocs serve -a 0.0.0.0:8000

Run mkdocs build command.

docker run --rm -v $(pwd):/data nicksantamaria/mkdocs build

⁠Tags

There is a build for both Alpine Linux and Debian Jessie. Images are built weekly (Sunday night UTC), you have these choices for tags.

  • latest - most recent Alpine image.
  • alpine - most recent Alpine image.
  • jessie - most recent Debian Jessie image.
  • [mkdocs-version]-alpine - Specific version of mkdocs on Alpine.
  • [mkdocs-version]-jessie - Specific version of mkdocs on Debian Jessie.

Only the latest version of mkdocs is built each week, pinning to an older version stop upstream security patches.

⁠Themes

For convenience, the following themes are bundled in the container:

Tag summary

Content type

Image

Digest

sha256:8469ef1da…

Size

40.2 MB

Last updated

almost 4 years ago

docker pull nicksantamaria/mkdocs