Skip to content

Unable to install on latest CentOS/RHEL/Rocky/AlmaLinux 8.3 #230

@jochenw

Description

@jochenw

When trying to run the script from get.docker.sh on CentOS 8.3, or a compatible version with the latest updates, I get the output below. A simple workaround is to execute

sudo dnf -y remove runc

(Note, that this will also deinstall buildah, cockpit-podman, conmon, container-selinux, containers-common, criu, fuse-overlayfs, fuse3, fuse3-libs, libnet, libslirp, libvarlink, podman, podman-catatonit, protobuf-c, and slirp4netns.)

`# Executing docker install script, commit: 7cae5f8

  • sh -c 'yum install -y -q yum-utils'
  • sh -c 'yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo'
    Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
  • '[' stable '!=' stable ']'
  • sh -c 'yum makecache'
    Rocky Linux 8 - AppStream 3.9 kB/s | 4.3 kB 00:01
    Rocky Linux 8 - BaseOS 7.7 kB/s | 3.9 kB 00:00
    Rocky Linux 8 - Extras 3.0 kB/s | 1.5 kB 00:00
    Docker CE Stable - x86_64 35 kB/s | 12 kB 00:00
    Metadata cache created.
  • '[' -n '' ']'
  • sh -c 'yum install -y -q docker-ce'
    Error:
    Problem: package docker-ce-3:20.10.6-3.el8.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
    • package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module+el8.3.0+161+9c4b50ff.x86_64
    • problem with installed package buildah-1.16.7-4.module+el8.3.0+161+9c4b50ff.x86_64
    • package buildah-1.16.7-4.module+el8.3.0+161+9c4b50ff.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
    • cannot install the best candidate for the job
    • package runc-1.0.0-56.rc5.dev.git2abd837.module+el8.3.0+159+115700a4.x86_64 is filtered out by modular filtering
    • package runc-1.0.0-64.rc10.module+el8.3.0+207+d3ea56f5.x86_64 is filtered out by modular filtering
      `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions