How Do You Solve “Error Problem with installed package …docker-ce conflicts with podman-docker”?

Problem scenario
You try to install docker-ce on a CentOS/Stream/RHEL/Fedora server, but you get an error like this:

Error:
Problem: problem with installed package podman-docker-1:3.4.1-3.module_el8.6.0+954+963caf36.noarch
...
package docker-ce conflicts with podmoan-docker

What should you do?

Solution
This will remove some packages. Do not do this if you have customized the packages involved.

Run these commands:

sudo yum remove buildah skopeo podman containers-common atomic-registries docker container-tools

sudo dnf -y install docker-ce

Leave a comment

Your email address will not be published.