This docker container lets you run wkhtmltopdf in a docker container.
docker build .
docker run -v <host_dir>:<container_dir> openlabs/docker-wkhtmltopdf http://www.google.com <container_dir>/output.pdf
The mounted volume can be used to send local html files and to save the output.
If you are planning on using wkhtmltopsd as a service you might also be interested in a downstream container which implements a HTTP API service that can be used to convert HTML to PDF.
See:
The development of the container takes place on Github. If you have a question or a bug report to file, you can report as a github issue.
This image was built at Openlabs.
This image is professionally supported by Openlabs. If you are looking for on-site teaching or consulting support, contact our sales and support teams.