You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where ML1 is an index (manifest list) with images in multiple architectures. M1, M2 and M3 represents the manifest of images in each arch. A1 and A2 are the artifact manifests with subject pointing to ML1 and M1 respectively.
oras cp -r [--from-oci-layout] $FROM:v1 $TO:v2: copy ML1, A1, M1, M2 and M3 to $TO and tag ML1 as v2.
oras cp -r [--from-oci-layout] $FROM:v1 $TO: copy ML1, A1, M1, M2 and M3 to $TO without tagging.
oras cp -r [--from-oci-layout] $FROM:v1 --platform linux/amd64 $TO:v2: copy M1 and A2 to $TO and tag M1 as v2.
oras cp -r [--from-oci-layout] $FROM:v1 --platform linux/amd64 $TO: copy M1 and A2 to $TO without tagging.
oras cp -r [--from-oci-layout] $FROM@$M1_DIGEST $TO:v2: copy M1 and A2 to $TO and tag M1 as v2
oras cp -r [--from-oci-layout] $FROM@$M1_DIGEST $TO: copy M1 and A2 to $TO without tagging.
The text was updated successfully, but these errors were encountered:
The behavior of recursive copying flag
--rescursive/-r
should be the same no matter the source is an OCI image layout folder or OCI registry.Expected Behavior
Suppose we have below content:
Where
ML1
is an index (manifest list) with images in multiple architectures.M1
,M2
andM3
represents the manifest of images in each arch.A1
andA2
are the artifact manifests with subject pointing toML1
andM1
respectively.oras cp -r [--from-oci-layout] $FROM:v1 $TO:v2
: copyML1
,A1
,M1
,M2
andM3
to$TO
and tagML1
asv2
.oras cp -r [--from-oci-layout] $FROM:v1 $TO
: copyML1
,A1
,M1
,M2
andM3
to$TO
without tagging.oras cp -r [--from-oci-layout] $FROM:v1 --platform linux/amd64 $TO:v2
: copyM1
andA2
to$TO
and tagM1
asv2
.oras cp -r [--from-oci-layout] $FROM:v1 --platform linux/amd64 $TO
: copyM1
andA2
to$TO
without tagging.oras cp -r [--from-oci-layout] $FROM@$M1_DIGEST $TO:v2
: copyM1
andA2
to$TO
and tagM1
asv2
oras cp -r [--from-oci-layout] $FROM@$M1_DIGEST $TO
: copyM1
andA2
to$TO
without tagging.The text was updated successfully, but these errors were encountered: