Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Docker Container

Installation

docker pull honkit/honkit

Usage

Show help

$ docker run -v `pwd`:`pwd` -w `pwd` --rm -it honkit/honkit honkit --help

Build

$ docker run -v `pwd`:`pwd` -w `pwd` --rm -it honkit/honkit honkit build

PDF build

$ docker run -v `pwd`:`pwd` -w `pwd` --rm -it honkit/honkit honkit pdf

Serve on port 4000

$ docker run -it --init -p 4000:4000  -v `pwd`:`pwd` -w `pwd` --rm  honkit/honkit honkit serve

Tips

Custom Font

You can create new image includes custom font based on honkit image.

FROM honkit/honkit:latest
LABEL maintainer="[email protected]"

# Install fonts
COPY fonts/custom-font /usr/share/fonts