Skip to content

Add support for CentOS 9 Stream In Repo #303

Closed
@linghengqian

Description

Tell us about your request
A clear and concise description of what you want to happen or the change you would like to see

I would like to be able to add support for CentOS 9 Stream at https://download.docker.com/linux/centos/ .

Which service(s) is this request for?
Let us know which product(s) you want this for?

docker-ce

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When I try to install docker-ce on CentOS 9 Stream, it reports 404, this is because there is no such version of $releasever as 9 in the corresponding repo.
I have tried commands like the right to specify the repo on CentOS 8 Stream, and I used the --nobest parameter of yum to keep the program running (yes, even on Centos 9 Stream, yum keyword is still preserved), i.e. sed -i 's/$releasever/8/g' /etc/yum.repos.d/docker-ce.repo.
This was followed by a tentative sudo yum install --nobest docker-ce docker-ce-cli containerd.io step, which unfortunately failed (please ignore the Chinese, in fact I'm not sure of its English counterpart, So I didn't do the translation)

[root@localhost ~]# sudo yum install --nobest  docker-ce docker-ce-cli containerd.io 
上次元数据过期检查:0:02:06 前,执行于 2022年01月13日 星期四 21时14分11秒。
错误:
 问题: 冲突的请求
  - nothing provides libcgroup needed by docker-ce-3:19.03.13-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:19.03.14-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:19.03.15-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.0-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.1-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.10-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.11-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.12-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.2-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.3-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.4-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.5-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.6-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.7-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.8-3.el8.x86_64
  - nothing provides libcgroup needed by docker-ce-3:20.10.9-3.el8.x86_64
(尝试添加 '--skip-broken' 来跳过无法安装的软件包)

I then tried yum install libcgroup, and the result was that match failed. Apparently the libcgroup package is an outdated component on RHEL and CentOS.

Are you currently working around the issue?
A clear and concise description of any alternative solutions or features you've considered or are using today.

Honestly I don't know how to fix it, it looks like Docker depends on libcgroup. I linked from another post. docker/docs#13792

Additional context
Add any other context or screenshots about the feature request here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    community_newNew idea raised by a community contributor

    Type

    No type

    Projects

    • Status

      Shipped! Enjoy!

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions