"buildah pull" fails to pull non-encrypted image if encrypted image is pushed to a registry

Solution Verified - Updated -

Issue

  • "buildah pull" fails to pull a non-encrypted image if an encrypted image is pushed to a registry.
  • The error messages
Error committing the finished image: error adding layer with blob "sha256:c81713436e6c": Error processing tar file(exit status 1): unexpected EOF

OR

writing blob: adding layer with blob "sha256:93655fab448b203ef809c638b1f1839ceba33d2640ad70bd8935d0f295ec1b94": Error processing tar file(exit status 1): archive/tar: invalid tar header

Environment

  • Red Hat Enterprise Linux 8.4 - 8.6
  • Red Hat Enterprise Linux 9.0
  • buildah-1.19.7-1 - 1.24

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content