Public | Automated Build

Last pushed: 2 years ago
Short Description
Smallest pdf2htmlEX container and easiest way to convert pdf to html file (246MB)
Full Description

pdf2htmlEX in a docker container

How to use this docker containter to convert pdf file to html

Suppose you have a PDF file ~/pdf/test.pdf, simply running

docker run -ti --rm -v ~/pdf:/pdf bwits/pdf2htmlex pdf2htmlEX --zoom 1.3 test.pdf

would produce a single HTML file test.html in ~/pdf directory.

run the docker container as local command

alias pdf2htmlEX="docker run -ti --rm -v ~/pdf:/pdf bwits/pdf2htmlex pdf2htmlEX"
pdf2htmlEX -h 
pdf2htmlEX --zoom 1.3 test.pdf

For detail instruciton on how to run pdf2htmlEX, please read the wiki

Docker Pull Command
Source Repository

Comments (3)
10 months ago

The problem might due to the misspell of the exec command pdf2htmlEX, with the last two letters mistakenly spelled in lower case.

10 months ago

Hi,Buddy When I run the latest docker I found the following error. Any ideas why?
docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\"--zoom\\": executable file not found in $PATH\"\n".

2 years ago

Thanks bro! it was quite difficult to build from source. And the resultant image was 1.2GB!! Saved us lot of pain.