Mirroring an Application Catalog
Mirror images used by applications in an application catalog to a private container registry.
Use the ocne catalog mirror
command to mirror the container images
to a local container registry. The syntax to use is:
ocne catalog mirror
[{-a|--archive} path]
[{-c|--config} path]
{-d|--destination} URI
[{-o|--download}]
{-N|--name} name
[{-p|--push}]
[{-s|--source} registry]
[{-q|--quiet}]
For more information on the syntax options, see Oracle Cloud Native Environment: CLI.
Example 4-1 Mirror the Oracle catalog
To mirror the Oracle catalog to a private container registry:
ocne catalog mirror --destination myregistry.example.io --push
Example 4-2 Mirror the embedded Oracle catalog
To mirror the Oracle catalog embedded in the CLI to a private container registry:
ocne catalog mirror --name embedded --destination myregistry.example.io --push
Example 4-3 Mirror specific applications
To mirror only those images that are used by the applications listed in a cluster configuration file to a private container registry:
ocne catalog mirror --destination myregistry.example.io --config mycluster.yaml --push