赛派号

a7r2和a7rm2有何区别 银河麒麟V10操作系统Kylin Linux Advanced Server release V10 (Lance)版本 docker build时报错

 

Kylin Linux Advanced Server release V10 (Lance)  docker build 时报如下错误:

DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ Sending build context to Docker daemon 204.6MB Step 1/7 : FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base ---> af095315a4eb Step 2/7 : WORKDIR /app ---> Using cache ---> 3b8547702717 Step 3/7 : COPY . . ---> Using cache ---> 85c3058957e7 Step 4/7 : ENV TZ=Asia/Shanghai ---> Using cache ---> 83c659472410 Step 5/7 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ---> Running in 03ccb35ecf5d failed to create task for container: failed to create shim task: OCI runtime create failed: container_linux.go:318: starting container process caused "permission denied": unknown

Kylin Linux Advanced Server release V10 (Sword)  操作系统没有以上报错,正常生成镜像

解决办法:

卸载Kylin Linux Advanced Server release V10 (Lance) 自带的Podman, 执行  yum remove podman 后,重新build 后可以正常生成镜像

 

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lsinopec@gmail.com举报,一经查实,本站将立刻删除。

上一篇 没有了

下一篇没有了