Closed stweil closed 2 years ago
This allows using podman instead of docker.
Interesting. Could you elaborate on that? (Here or in the README)
Podman is a drop-in replacement for Docker (so it is sufficient to link podman
to docker
to run with ocrd-all) and included in Debian / Ubuntu. The main difference is that it does not need a daemon and also can be run rootless. By default it does not assume that an image comes from docker.io. Using a qualified name tells it where those images come from (and also works with the normal Docker).
I did not know that Podman is directly compatible with Docker images, and can pull from Drockerhub.
What about GPU usage and nvidia-docker
daemon?
Linking podman
to docker
sounds good: Could you please edit the README to explain that possibility?
Before promoting podman it is necessary to test it in the OCR-D context. For example I simply don't know how good it can be used with GPU. Therefore I'd wait with mentioning it in the README.
Can I merge this PR?
Before promoting podman it is necessary to test it in the OCR-D context Can I merge this PR?
Are we certain that this won't break anything with Docker / DockerHub deployment? I'd feel more comfortable with merging if we had running CI.
Before promoting podman it is necessary to test it in the OCR-D context Can I merge this PR?
Are we certain that this won't break anything with Docker / DockerHub deployment? I'd feel more comfortable with merging if we had running CI.
The change is only used in Dockerfile
. Building a local Docker image is sufficient for a test.
See also these articles: https://windsock.io/referencing-docker-images/ https://www.redhat.com/en/blog/be-careful-when-pulling-images-short-name
See https://github.com/stweil/ocrd_all/runs/5758316217 which shows that the patch does not break the Docker image build.
It's like a default namespace. Even without it, you can see docker.io top level when pushing or pulling against DH.
Can I merge this PR?
I suggest placing the merge and release cycle in one hand whenever possible. That would be @kba ATM. See here
Sry, this should have been part of the release, will fix right away.
This allows using podman instead of docker.
Signed-off-by: Stefan Weil sw@weilnetz.de