Skip to content

Start with Docker

Public docker image

DockerHub Badge

docker-compose

Here is an example docker-compose.yml

version: '3'

services:
  mkdocs:
    image: peaceiris/mkdocs-material:v2.2.2
    container_name: mkdocs_material_boilerplate
    ports:
      - 8000:8000
    volumes:
      - ${PWD}:/root
    stdin_open: true
    tty: true
    command:
      - "serve"
      - "--dev-addr=0.0.0.0:8000"
      - "--config-file"
      - "./mkdocs-sample.yml"
docker-compose up

Go to http://localhost:8000/