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-pdf2htmlexis your tag
docker run --platform linux/amd64 -ti --rm -v ~/Downloads:/pdf -w /pdf my-pdf2htmlex pdf2htmlEX 1.pdf 1.htmlwhere:
~/Downloads- folder where PDF file is locatedmy-pdf2htmlexis your tag1.pdf- input PDF1.html- output HTML file