Skip to content

nicksantamaria/docker-mkdocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

Releases

No releases published

Packages

No packages published