I was trying to find working Docker image for my MacBook Air 13 with M2 and ended up with creating own image.
docker buildx build --platform=linux/amd64 -t my-pdf2htmlex .
where:
my-pdf2htmlex
is your tag
docker run --platform linux/amd64 -ti --rm -v ~/Downloads:/pdf -w /pdf my-pdf2htmlex pdf2htmlEX 1.pdf 1.html
where:
~/Downloads
- folder where PDF file is locatedmy-pdf2htmlex
is your tag1.pdf
- input PDF1.html
- output HTML file