unpacking error : failed to extract...: failed to convert whiteout file... operation not permitted

unpacking error : failed to extract…: failed to convert whiteout file… operation not permitted

问题背景:
使用ctr image import命令时报错
ctr: failed to extract layer sha256:6210ac50e254e8d12e577c88949781cf7dc7ba478823585db78d6a75d13cf07f: failed to convert whiteout file “var/lib/yum/yumdb/b/.wh.c86d3b3e8d9578a800202b88edf48aecf5aec20a-bind-license-9.9.4-61.el7-noarch”: operation not permitted: unknown

问题解决:
添加关键字 --no-unpack

OPTIONS:
   --base-name value        base image name for added images, when provided only images with this name prefix are imported
   --digests                whether to create digest images (default: false)
   --skip-digest-for-named  skip applying --digests option to images named in the importing tar (use it in conjunction with --digests)
   --index-name value       image name to keep index as, by default index is discarded
   --all-platforms          imports content for all platforms, false by default
   --platform value         imports content for specific platform
   --no-unpack              skip unpacking the images, false by default
   --compress-blobs         compress uncompressed blobs when creating manifest (Docker format only)
   --snapshotter value      snapshotter name. Empty value stands for the default value. [$CONTAINERD_SNAPSHOTTER]

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值