Bug 1385 - 用podman 导入anolis-8.6-x86_64-docker.tar后运行失败
Summary: 用podman 导入anolis-8.6-x86_64-docker.tar后运行失败
Status: RESOLVED WORKSFORME
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.5
Hardware: All Linux
: P2-High S2-major
Target Milestone: ---
Assignee: 葛立伟
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1338
  Show dependency tree
 
Reported: 2022-05-31 14:56 UTC by qhw13324663979
Modified: 2022-06-20 14:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qhw13324663979 alibaba_cloud_group 2022-05-31 14:56:22 UTC
用docker 导入AnolisOS-8.6 Beta版的doker镜像后启动容器成功
用podman 导入AnolisOS-8.6 Beta版的doker镜像后启动容器失败

复现步骤

下载镜像
wget https://mirrors.openanolis.cn/anolis/8.6/isos/BETA/x86_64/anolis-8.6-x86_64-docker.tar

导入镜像
podman import anolis-8.6-x86_64-docker.tar  an8

查看镜像
[root@localhost ~]# podman images
REPOSITORY                 TAG         IMAGE ID      CREATED     SIZE
localhost/an8              latest      6bd2eb795a0f  7 days ago  211 MB

启动容器
[root@localhost ~]# podman run -tid --name=boge localhost/an8  /bin/bash
Error: container_linux.go:380: starting container process caused: exec: "/bin/bash": stat /bin/bash: no such file or directory: OCI runtime attempted to invoke a command that was not found
Comment 1 葛立伟 alibaba_cloud_group 2022-06-01 11:24:54 UTC
请使用 docker load, import不导入其他配置信息