Sign inSign up

dicoming/wkhtmltopdf-ws

By dicoming

•Updated about 10 years ago

WKHTMLTOPDF as Web Service

Image
5

100K+

dicoming/wkhtmltopdf-ws repository overview

⁠wkhtmltopdf-ws

This is fork of wkhtmltopdf-aas container⁠. wkhtmltopdf in a docker container as a web service.

This image is based on the wkhtmltopdf container⁠.

⁠Running web service

docker run -v /tmp/wkhtmltopdf:/tmp/wkhtmltopdf -p 10080:80 wkhtmltopdf-ws

The container now runs as a daemon. It binded on host port 10080 and using shared directory /tmp/wkhtmltopdf beetween container and host. In this directory you can create input file and get output file.

⁠Using web service

Service takes wkhtmltopdf command as if you using it in your command line, and execute command within container. Make POST request with "command" param in it.

Tag summary

Content type

Image

Digest

Size

291.7 MB

Last updated

about 10 years ago

docker pull dicoming/wkhtmltopdf-ws