Transport OCM Component Versions

The section Bundle Composed Components explained how to bundle multiple component version into a transport archive.

During the transfer, it is possible to include component references as local blobs. It is also possible to include references in a recursive way.

Here is an example of a recursive transfer from one OCI registry to another, which includes resources and references:

ocm transfer componentversion --recursive --copy-resources ${OCM_REPO}//${COMPONENT}:${VERSION}
transferring version ""...
...resource 0(
...adding component version...
1 versions transferred

The OCM CLI’s transfer command can be used to transfer component versions, component archives, transport archives, and artifacts. See ocm transfer -h for more information.

More examples on the transport archive can be found in appendix A.