I’m new to Podman and so far have been completely frustrated by it.
I don’t know if the issue is with the container or Podman since there are just no logs.
I’m trying to Stirling-PDF, using this command:
docker run -d
-p 8080:8080
-v /location/of/trainingData:/usr/share/tesseract-ocr/5/tessdata
-v /location/of/extraConfigs:/configs
-v /location/of/logs:/logs
-e DOCKER_ENABLE_SECURITY=false
–name stirling-pdf
frooodle/s-pdf:latest
With Docker, I have no issue running the this container. Under Podman the container immediately exits without logs - podman logs <container> shows nothing.
The same thing happens running the same command with sudo or without sudo but using --rootful. I’ve also tried removing '-e DOCKER_ENABLE_SECURITY=false ' since it’s very Docker specific.
I feel like I’m missing something obvious - like where are the logs?
poVoq@slrpnk.net 9 months ago
You need to tell Podman which container repo to use. Contrary to Docker it doesn’t just assume Dockerhub. Try with
docker.io/frooodle/s-pdf:latest
If you run the Podman container via the systemd integration it will have logs like any other service.
bravemonkey@lemmy.ca 9 months ago
Ah, looks like I should have used journalctl -b | grep stirling-pdf
bravemonkey@lemmy.ca 9 months ago
Thanks, docker.io/frooodle/s-pdf:latest was the only repository that would download it from the options it gave me. I’m working through the other suggestions as well. journalctl isn’t giving me anything when I try grep with stirling, podman or s-pdf. It’s 100% likely I’m not using journalctl properly either.