Podman docker compatibility
The podman
CLI is largely drop-in compatible with the docker
CLI.
Podman has a deamonless design, but it is possible to run a service which emulates docker’s daemon socket for API clients:
podman system service --time=0 unix:///path/to/a/podman.sock
Docker clients that honor DOCKER_HOST
(export DOCKER_HOST=unix:///path/to/a/podman.sock
) will then be able use it as if it was a docker daemon.
Using this, it may also be necessary to add dockerhub as an unqualified registry.
In .config/containers/registries.conf
:
unqualified-search-registries = [
"docker.io"
]