arachnys / athenapdf

Drop-in replacement for wkhtmltopdf built on Go, Electron and Docker
MIT License
2.26k stars 186 forks source link

Unable to find image 'athenapdf:latest' locally #133

Closed dplong closed 7 years ago

dplong commented 7 years ago

I installed and attempted to run athenapdf on Ubuntu 16.04 according to the simple instructions at http://www.athenapdf.com/ However, it's failing (see below). I have no experience with docker so don't know if this a docker problem or an athenapdf problem. Any idea what's wrong?

plong:20:38:56:~$ sudo docker pull arachnysdocker/athenapdf
Using default tag: latest
latest: Pulling from arachnysdocker/athenapdf
cd0a524342ef: Pull complete 
3add9bc86b30: Pull complete 
f816462ca7a2: Pull complete 
9f51a016081c: Pull complete 
de9ef1b28ceb: Pull complete 
f35d21a3b4b7: Pull complete 
dc2806b02318: Pull complete 
Digest: sha256:ee04ee44e21548c3b4364863e800d24fea6bf6d1f907009fe6c7000c8d496df2
Status: Downloaded newer image for arachnysdocker/athenapdf:latest
plong:21:17:06:~$ cd docs
plong:21:22:09:docs$ sudo docker run --rm -v $(pwd):/converted/arachnysdocker/athenapdf athenapdf bananas.html ttt
[sudo] password for plong: 
Unable to find image 'athenapdf:latest' locally
Pulling repository docker.io/library/athenapdf
docker: Error: image library/athenapdf:latest not found.
See 'docker run --help'.
plong:21:22:24:docs$ 
MrSaints commented 7 years ago

The image you are using on docker run should be arachnysdocker/athenapdf. That is, it should look something like:

docker run --rm -v $(pwd):/converted/ arachnysdocker/athenapdf athenapdf <input_path> [output_path]

Perhaps you mistakenly removed a space between /converted/, and arachnysdocker/athenapdf.

dplong commented 7 years ago

That's it. Thanks. The way it's presented on http://www.athenapdf.com/ makes it a bit ambiguous:

docker run --rm -v $(pwd):/converted/ arachnysdocker/athenapdf athenapdf [input_path_or_url] [output_path]