Bug 5739 - [Anolis23 GA][GA][x86/arm]使用docker镜像cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com/openanolis/anolisos:23-20230704,os的repo源不存在
Summary: [Anolis23 GA][GA][x86/arm]使用docker镜像cloud-native-sig-registry.cn-hangzhou.cr....
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-04 19:03 UTC by liuyaqing
Modified: 2023-07-05 20:14 UTC (History)
0 users

See Also:


Attachments
docker repo源报错 (8.05 MB, image/bmp)
2023-07-04 19:03 UTC, liuyaqing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description liuyaqing alibaba_cloud_group 2023-07-04 19:03:46 UTC
Created attachment 822 [details]
docker repo源报错

Description of problem:
使用docker镜像cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com/openanolis/anolisos:23-20230704创建docker容器,执行yum install git的时候报错:Errors during downloading metadata for repository 'os':
  - Status code: 404 for http://mirrors.openanolis.cn/anolis/23/os/x86_64/os/repodata/repomd.xml

Error: Failed to download metadata for repo 'os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried


Steps to Reproduce:
1.docker pull cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com/openanolis/anolisos:23-20230704

2.docker run -itd cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com/openanolis/anolisos:23-20230704

3.docker exec 容器ID yum install git

Actual results:
执行docker exec 容器ID yum install git报错:Status code: 404 for http://mirrors.openanolis.cn/anolis/23/os/x86_64/os/repodata/repomd.xml

Expected results:
存在正确的repo源,正常执行yum install git等命令

Additional info:
Comment 2 happy_orange alibaba_cloud_group 2023-07-05 20:14:32 UTC
该问题是由于今天 os 源正在更新,是在中午 12点左右更新完成,现在已经正常使用。