Skip to main content

CentOS Stream 10: Use Docker CLI

Install the podman-docker package to emulate the Docker CLI with Podman commands.

May 25, 2026 3 min read
centoscentos-stream-10podmandockerclicompatibility

Install the podman-docker package to emulate the Docker CLI using Podman.

Install podman-docker

dnf -y install podman-docker

The docker command is installed as a script that executes Podman:

cat /usr/bin/docker

The script shows a warning message by default. To suppress it, create the /etc/containers/nodocker file:

touch /etc/containers/nodocker

Test the docker Command

All standard Docker commands work, routed through Podman:

docker images
docker ps -a
docker run centos:stream10 /bin/echo "Hello from Docker CLI"

Compatibility covers most common Docker CLI operations including pull, run, exec, build, push, login, and network/volume management.