Image push from node to registry fails with "rejected by policy" error in RHOCP4

Solution Verified - Updated -

Issue

  • Image push fails with below error :
$ sudo podman push <image-name>:<tag>
Error: Source image rejected: Running image containers-storage:[overlay@/var/lib/containers/storage+/run/containers/storage]@xxx is rejected by policy.
  • Creating image.tar fails with below error :
$ sudo podman save --output images.tar <image-name>:<tag>
Error: Source image rejected: Running image containers-storage:[overlay@/var/lib/containers/storage+/run/containers/storage]@xxx is rejected by policy.

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4

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