Plesk

Error when installing Docker on Rocky Linux 8.6: package requires containerd.io >= 1.4.1, but none of the providers can be installed – Plesk

Symptoms

The following error is displayed when trying to install the Docker extension on Rocky Linux 8.6:

Problem: problem with installed package buildah-1:1.24.2-4.module+el8.6.0+971+69b94baf.x86_64
- package buildah-1:1.24.2-4.module+el8.6.0+971+69b94baf.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
...
- package docker-ce-3:20.10.17-3.el8.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
...
- package containerd.io-1.6.6-3.1.el8.x86_64 obsoletes runc provided by runc-1:1.0.3-2.module+el8.6.0+971+69b94baf.x86_64
- cannot install the best candidate for the job
ERROR:__main__:Command '['yum', '-y', '-q', 'install', 'docker-ce']' returned non-zero exit status 1
None
exit status 1
Can not install required Docker rpm packages 

Cause

Docker is conflicting with the container-tools module in Rocky Linux. This module contains the Podman tool, which is incompatible with Docker and both of these tools can not be installed on the same system.

Resolution

Remove the container-tools module:

1. Log in to the server via SSH

2. Run either of the following commands:

# dnf remove @container-tools

OR

# yum remove runc podman

Exit mobile version