How to restore container images from an s3 bucket populated by an openshift container registry.
Issue
- Restoration process failed with the below error.
$ oc image mirror s3.amazonaws.com/scaling-test/busy-container:latest localhost:5000/scaling-test-transfer/busy-container:latest --loglevel=6 --s3-source-bucket image-registry-us-west-2-xxxxx/[store]
error: unable to connect to s3.amazonaws.com/scaling-test/busy-container: endpoint "https://s3.amazonaws.com" does not support v2 API
Environment
- Red Hat OpenShift Container Platform 4.X (RHOCP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.