【问题标题】:Podman push results in layer representation errorPodman push 导致层表示错误
【发布时间】:2021-09-22 13:28:53
【问题描述】:

Podman Push 导致以下错误消息:

Error: Copying this image requires changing layer representation, which is not possible (image is signed or the destination specifies a digest)

注册表本身正在工作,从另一个具有相同图像作品的主机推送(尽管版本不同)。如何解决这个问题?已经尝试过 nuking podman,包括 graphroot 和 runroot。

  • 操作系统:RHEL 8.4
  • Podman 版本:3.2.3

【问题讨论】:

    标签: redhat podman


    【解决方案1】:

    如果我现在理解正确的话,skopeo(用于在 podman 中拉/推等)是“问题”。就我而言,我从 redhat 中提取了一个签名图像,并尝试将其推送到我的 gitlab (=docker) 注册表。 Afaik docker 注册表不处理签名,并且 skopeo 默认拒绝删除签名。

    所以简单但肮脏的解决方法是使用podman push --remove-signatures

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-14
      • 2019-07-20
      • 1970-01-01
      • 1970-01-01
      • 2017-11-20
      相关资源
      最近更新 更多