CozyBob
CozyBob

Reputation: 53

Podman push results in layer representation error

Podman Push is resulting in following Error Message:

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

Registry itself is working, push from another host with same image works (different version though). How to fix this? Already tried nuking podman including graphroot and runroot.

Upvotes: 0

Views: 3648

Answers (1)

CozyBob
CozyBob

Reputation: 53

If i understood correctly by now, skopeo (used to pull/push etc within podman) is the "problem". In my case i pulled a signed image from redhat and I tried pushing it to my gitlab (=docker) registry. Afaik the docker registry doesn't take care of the signature and skopeo refuses to drop the signature by default.

So the easy but dirty fix is to use podman push --remove-signatures

Upvotes: 5

Related Questions