Bug 29311 - 开了centos10 的源之后,yum install moby 也会把 docker-ce 和 docker-ce-cli 安装上
Summary: 开了centos10 的源之后,yum install moby 也会把 docker-ce 和 docker-ce-cli 安装上
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: ---> ToBeTriaged (show other bugs) ---> ToBeTriaged
Version: 23.4
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-07 11:20 UTC by wanghuan158
Modified: 2026-01-09 09:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wanghuan158 alibaba_cloud_group 2026-01-07 11:20:36 UTC
Description of problem: 开了centos10 的源之后,yum install moby 也会把 docker-ce 和 docker-ce-cli 安装上 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 gaochang alibaba_cloud_group 2026-01-07 17:12:45 UTC
信息不够全,安装的 moby 是什么版本?
docker-ce/cli 默认不在 23 的范围内,docker-ce 的安装来源是什么
Comment 2 wanghuan158 alibaba_cloud_group 2026-01-09 09:44:30 UTC
(In reply to gaochang from comment #1)
> 信息不够全,安装的 moby 是什么版本?
> docker-ce/cli 默认不在 23 的范围内,docker-ce 的安装来源是什么

版本是 moby-24.0.9-8.an23, docker-ce的安装来源是配置centos10的源

这个问题的原因是spec中 Recommends: docker-ce-rootless-extras 这个建议依赖引入的 docker-ce 和 docker-ce-cli,当前最新版本 moby-28.3.3-1.an23 spec中已经删除了这个建议依赖