A Docker container with wkhtmltopdf on top of Debian:jessie
Debian 8 (Jessie)
wkhtmltopdf 0.12.4 (with patched qt)
docker run -d \
--volume /tmp/wkhtmltopdf:/tmp/wkhtmltopdf
--name cs2wkhtmltopdf \
cs2ag/wkhtmltopdf
To generate a PDF, execute wkhtmltopdf inside docker container.
docker container exec cs2wkhtmltopdf wkhtmltopdf "https://www.google.com/" /tmp/wkhtmltopdf/file.pdf
Mount a host directory into the container. The generated PDF files will be saved into this directory
- Stefan Preissner (github@cs2.ch)