oc-mirror 4.19 --v2 command exits with no output in RHOCP 4

Solution Verified - Updated -

Issue

  • When using the oc-mirror binary version 4.19 on RHEL 9 node, the command exits immediately without any output or error message when executed with the --v2 flag. The command exits silently — no logs, no errors, and no images are mirrored.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat Enterprise Linux (RHEL)
    • 9 (Server profile - CIS Red Hat Enterprise Linux 9 Benchmark for Level 2)

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