Unable to install on latest CentOS/RHEL/Rocky/AlmaLinux 8.3
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, shell
- Domain
- devops, operating-systems
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.
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
`
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/docker-install
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
docker/docker-install#575 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#559 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
docker/docker-install#548 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
docker/docker-install#540 ·
All issues in docker/docker-install
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
YosysHQ/oss-cad-suite-build#216 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ekalinin/github-markdown-toc#167 ·
-
out-of-date
Difficulty 1/5 Under an hour Newbie friendliness 82/100
CachyOS/CachyOS-PKGBUILDS#1917 ·
Maintainers usually reply within 1 day
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day