docker / docker/docker-install

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

Open
#230 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
3.2k
Forks
863
Avg merge
3h 15m
Merged PRs (30d)
2

Description

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: 7cae5f8b0decc17d6571f9f52eb840fbc13b2737

  • 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
      `

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with get.docker.sh and reproduce the reported installation on CentOS 8.3 or a compatible RHEL-family system. Inspect the package-dependency handling; done means docker-ce installs without requiring the user to remove runc and without the reported dependency conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.