Sign inSign up

svinther/docker-wkhtmltopdf

By svinther

Updated over 7 years ago

Dockerized wkhtmltopdf accepting html input on http port 80

Image
0

2.2K

svinther/docker-wkhtmltopdf repository overview

docker-wkhtmltopdf

Dockerized wkhtmltopdf accepting html input on http port 80

Very simple, no error handling or any other complicated stuff

Installing the static wkhtmltopdf binary, as the standard ubuntu package can not run without a X11 environment

Usage

docker run -d -p 8080:80 svinther/docker-wkhtmltopdf

cURL example:

curl -sS -H "Expect:" --data-binary @filename.html  http://localhost:8080/convert

Another Example:

 echo "<h1>This is html</h1>" | curl -H "Expect:" --data-binary @- -sS http://localhost:8080/convert   

More

Tag summary

Content type

Image

Digest

Size

85.7 MB

Last updated

over 7 years ago

docker pull svinther/docker-wkhtmltopdf