This docker container lets you run wkhtmltopdf in a docker container.
docker build .
docker run -v <host_dir>:<container_dir> traumfewo/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.
The original image was built at Openlabs.
Content type
Image
Digest
Size
88 MB
Last updated
over 6 years ago
docker pull traumfewo/docker-wkhtmltopdf