containers-common
No description set
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:kubic:libcontainers:stable/containers-common && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| _service | 0000001360 1.33 KB | |
| containers-common_1-22.dsc | 0000000647 647 Bytes | |
| containers-common_1-22.tar.gz | 0000123216 120 KB |
Comments 8
It looks like there was a recent change in the last couple of weeks that updated the dependencies to include containerd.io. I noticed this when I saw the version of this package change from 4:1-18.el7.22.1 to 4:1-18.el7.23.1.
The environment is CentOS 7.9.
Was that intentional? The only place I'm seeing to get containerd.io is using the Docker CE repository, but the packages there have further dependencies on oci-runtime that are not satisfied for CentOS 7 (looks like 8+ is the only place to find that for now).
Any help you can offer here is greatly appreciated.
Hey! I made this change, as I was attempting to find a fix for https://github.com/cri-o/cri-o/issues/5712. the CentOS 7 package for cri-o-runc will provide
oci-runtimebut will fail to install if docker is already installed. This is because the containerd.io package provides runc, but does not officially state itProvides: oci-runtime.However, I have just realized the containerd spec also says "Provides: runc" which we should be able to use. I am going to attempt that
Thanks! I noticed that rev 23 also adds an "or" conditional to Requires in the .spec file. That's supported by rpm 4.13+, but the latest available on CentOS 7 is 4.11. Is there a way to work around that?
As an update to what we're trying to do, there's no Docker installed on this system (it's Centos 7.9 minimal). We're just trying to install podman, and ran into that dependency issue during the installation process.
Just tried with 4:1-19.el7.27.1.noarch, and there's no more containerd.io error (or oci-runtime), so yay! However, it's still tripping up on the boolean:
I think this might work to fix the "or" snag on RHEL/CentOS versions locked to versions of RPM < 4.11: %if 0%{?centos} >= 8 Requires: (oci-runtime or runc) %else Requires: oci-runtime %endif
Thanks for the suggestion. I have set CentOS 7 to require runc instead of oci-runtime because I don't know if crun makes sense for it
Working like a charm for us now. Many thanks!
thanks for your patience, cheers!