Created attachment 809 [details] arm容器镜像执行rpm报错 Description of problem: 在arm机器上安装容器cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com/openanolis/anolisos:23-busybox 容器内执行 rpm -qa,报错:rpm: invalid option -- 'a' x86上的容器没有这个报错 Steps to Reproduce: 1.docker pull cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com/openanolis/anolisos:23-busybox 2. docker run -itd cloud-native-sig-registry.cn-hangzhou.cr.aliyuncs.com/openanolis/anolisos:23-busybox bash 3. docker exec -it NAMES bash 4. 容器内执行 rpm -qa Actual results: 容器内执行rpm -qa报错: 无效参数a Expected results: 容器内正常执行rpm -qa Additional info:
suse的busybox没有这个rpm参数 registry.suse.com/bci/bci-busybox:latest,详情见附件
Created attachment 856 [details] suse的busybox
我们提供的 busybox 镜像中的 rpm 命令行是由 busybox 提供,在设计文档中也有写 busybox 提供的 rpm 命令是只有 -qp 的 option 的,不包括 -a 参数。