Creating registry namespaces
Top-level namespaces appear at the root path of your private registry. For example, if your registry is hosted at myregistry.com:5000
, then mynamespace
in myregistry.com:5000/mynamespace
is defined as a top-level
namespace. There can be many top-level namespaces.
It is required that the top-level namespaces in your private registry exist or that they can be automatically created during the image push. If your registry does not allow automatic creation of top-level namespaces, you must create them manually.
When you generate mirror manifests, you can specify the top-level namespace where you want to mirror the images. Set TARGET_REGISTRY
to myregistry.com:5000/mynamespace
which needs only one mynamespace
. The
top-level namespaces can also be provided in the final registry by using --final-registry
.
If you do not specify your own top-level namespace, the mirroring process uses the ones that are specified by the CASE
. For example, the process tries to mirror the images at myregistry.com:5000/cp
, myregistry.com:5000/cpopen etc
.
If your registry does not allow automatic creation of top-level namespaces and you are not going to use your own during the generation of mirror manifests, you must create the following namespaces at the root of your registry:
cp
cpopen