Bug 2684 - [anolis23 Preview beta][aarch64][x86_64]使用容器镜像无法正常启动容器
Summary: [anolis23 Preview beta][aarch64][x86_64]使用容器镜像无法正常启动容器
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
: P2-High S1-blocker
Target Milestone: ---
Assignee: gaochang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-02 11:06 UTC by chuyang_94
Modified: 2022-11-02 19:54 UTC (History)
3 users (show)

See Also:


Attachments
容器启动失败截图 (153.72 KB, image/png)
2022-11-02 11:06 UTC, chuyang_94
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chuyang_94 alibaba_cloud_group 2022-11-02 11:06:36 UTC
Created attachment 447 [details]
容器启动失败截图

Description of problem:
下载anolis23的容器镜像后,使用容器镜像无法正常启动容器
主要问题有两个:
1、与anolis8等容器镜像对比,使用anolis23容器镜像起容器的时候,没有默认的command命令
2、使用command命令启动容器,创建容器依旧失败
具体问题现象见附件截图

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


How reproducible:
必现

Steps to Reproduce:
1.wget下载docker镜像包
2.docker import从镜像包中导入镜像
3.docker run -dit + 镜像 启动容器

Actual results:
启动容器失败

Expected results:
容器正常启动,可以正常登录使用

Additional info:
Comment 1 xuchunmei alibaba_cloud_group 2022-11-02 11:46:04 UTC
docker镜像处理有误,koji制作的docker镜像外包封装了一层,导致解压后目录多了一层。找不到执行文件。

已重新更新docker镜像。
Comment 2 chuyang_94 alibaba_cloud_group 2022-11-02 14:51:40 UTC
(In reply to xuchunmei from comment #1)
> docker镜像处理有误,koji制作的docker镜像外包封装了一层,导致解压后目录多了一层。找不到执行文件。
> 
> 已重新更新docker镜像。

重发镜像问题二已解决 问题一麻烦再看下
Comment 3 xuchunmei alibaba_cloud_group 2022-11-02 19:54:44 UTC
(In reply to chuyang_94 from comment #2)
> (In reply to xuchunmei from comment #1)
> > docker镜像处理有误,koji制作的docker镜像外包封装了一层,导致解压后目录多了一层。找不到执行文件。
> > 
> > 已重新更新docker镜像。
> 
> 重发镜像问题二已解决 问题一麻烦再看下

tar包的方式都是无法设置command,无论是dockefile还是ks的方式制作docker镜像。目前anolis 8的tar包也是一样的情况。