Sign inSign up

homecentr/mkdocs-material

By homecentr

Updated almost 6 years ago

Image
0

2.1K

homecentr/mkdocs-material repository overview

Project status

CI/CD on master Regular Docker image vulnerability scan

HomeCentr - mkdocs material

This docker image is an enriched version of the original squidfunk's mkdocs-material and adds drawio-exporter on top of that. The set up of the drawio-exporter and it's dependencies is not completely straightforward so I thought it could be also useful to others :wink:

Usage

Update your mkdocs.yml file according to the guide in drawio-exporter. Note that the container is running as root by default which means you have to add the --no-sandbox argument as shown below.

plugins:
  - drawio-exporter:
      drawio_args:
        - --no-sandbox
Powershell
docker run --rm -it -p 8000:8000 -v ${$PWD}:/docs homecentr/mkdocs
Bash
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs homecentr/mkdocs

Exposed ports

PortProtocolDescription
8000TCPMkDocs development server

Volumes

Container pathDescription
/docsDefault working directory, this should be the directory with the mkdocs.yml file

Security

The container is regularly scanned for vulnerabilities and updated. Further info can be found in the Security tab.

Container user

The container is tested to be running as a root. Given that it is a development container which should not be deployed anywhere and only used at build time this is an accepted feature.

Tag summary

Content type

Image

Digest

Size

389.6 MB

Last updated

almost 6 years ago

docker pull homecentr/mkdocs-material