podman system prune: failed to prune image

Solution Unverified - Updated -

Issue

  • Not possible to remove images with podman.
  • podman system prune command fails with error:

    Error: failed to prune image: error reading image "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" as image: error locating item named "manifest" for image with ID "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx": file does not exist
    
  • podman rmi command fails with error:

    ERRO[0000] error reading image "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" as image: error locating item named "manifest" for image with ID "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx": file does not exist
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP, OCP)
    • 4.x
  • Red Hat Enterprise Linux (RHEL)
    • 8.x

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