Articles in this section

Installing Docker extension on Plesk server with AlmaLinux/Rocky Linux/RHEL 8 fails: package requires containerd.io >= 1.4.1, but none of the providers can be installed

DoNotDelete:docref Plesk for Linux kb: technical ext: docker

Applicable to:

  • Plesk for Linux

Symptoms

On a Plesk server on AlmaLinux/Rocky Linux/RHEL 8, installing Docker extension fails (the same error is also found in the log file /var/log/plesk/panel.log):

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


Execution installer has failed with exit code 1, stdout: , stderr: The Docker extension cannot be installed because module container-tools are installed in your system. Read the article https://support.plesk.com/hc/en-us/articles/12376921232023 for more information

Cause

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

Resolution

  1. Connect to the server via SSH.

  2. Run either of the following commands:

    # dnf remove @container-tools

    OR

    # yum remove runc podman

  3. If leftover podman packages are still present in the system:

    # rpm -qa | grep podman
    podman-gvproxy-4.9.4-20.module_el8.10.0+3970+8445edf6.x86_64
    podman-plugins-4.9.4-20.module_el8.10.0+3970+8445edf6.x86_64

    then remove them as well:

    # dnf remove podman-gvproxy podman-plugins

  4. Move out the file /etc/dnf/modules.d/container-tools.module if it exists:

    # mv /etc/dnf/modules.d/container-tools.module /root/

Was this article helpful?

Comments

2 comments
Date Votes
  • still doesn't work 
    "129447:66cd6bf113325 ERR [extension/docker] The execution of post-install.php has failed with the following message:
    Execution installer has failed with exit code 1, stdout: , stderr: The Docker extension cannot be installed because module container-tools are installed in your system. Read the article https://support.plesk.com/hc/en-us/articles/12376921232023 for more information
    The execution of post-install.php has failed with the following message:
    Execution installer has failed with exit code 1, stdout: , stderr: The Docker extension cannot be installed because module container-tools are installed in your system. Read the article https://support.plesk.com/hc/en-us/articles/12376921232023 for more information
    "

    AlmaLinux release 9.4 (Seafoam Ocelot)

    1
  • This issue also still exists on AlmaLinux 9.4 despite Plesk stating that they support it. This article mentions the removal of container-tools but does not explain what these are and what the impact of their removal is.

    Same message 

    The execution of post-install.php has failed with the following message:
    Execution installer has failed with exit code 1, stdout: , stderr: The Docker extension cannot be installed because module container-tools are installed in your system. Read the article https://support.plesk.com/hc/en-us/articles/12376921232023 for more information
     
    Perhaps a Plesk Moderator should provide an update as this error is generated installing the docker extension and if it is not compatible then it should not be available surely?
    1

Please sign in to leave a comment.