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
{{ message }}
Repository navigation
Command to delete a manifest from a remote registry #473
Usage:
oras manifest delete REG/REPO<:TAG|@DIGEST> [flags]
Flags:
--ca-file string server certificate authority file for the remote registry
-d, --debug debug mode
-h, --help help for deleting a manifest
--insecure allow connections to SSL registry without certs
-p, --password string registry password or identity token
--password-stdin read password or identity token from stdin
--plain-http allow insecure connections to registry without SSL check
-u, --username string registry username
-v, --verbose verbose output
--descriptor show the descriptor of deleted blob
--yes do not prompt for confirmation
yuehaoliang@yuehaoliang:~$ az acr manifest delete yuehaoliang.azurecr.io/hello:v1
Command group 'acr manifest' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Are you sure you want to delete the artifact 'sha256:f04e7500b73d0d0b970c04f1a53c79134f5ecffb8690cb454dca551354763412' and all manifests that refer to it? (y/n): y
Use case: use -h to see the usage of oras manifest delete:
Use Case: decide not to delete the manifest:
Use Case: decide to delete the manifest:
Use Case: user flag --yes or -y to confirm deleting the manifest:
Use Case: --descriptor will print the descriptor of the manifest:
Use Case: use digest to delete the manifest:
Use case: miss the tag or digest
Use case: the manifest does not exist:
According to the discussion about UX listed in #459, newly made some modification to the above PR. Here attached some simple use cases.
Activity
yuehaoliang commentedon Aug 9, 2022
Hi team, I'm interested in resolving both this issue and #472.
yuehaoliang commentedon Aug 25, 2022
The UX of
az acr manifest deleteis:Refer to az-acr-manifest-delete.
yuehaoliang commentedon Aug 25, 2022
Use case: use








-hto see the usage oforas manifest delete:Use Case: decide not to delete the manifest:
Use Case: decide to delete the manifest:
Use Case: user flag
--yesor-yto confirm deleting the manifest:Use Case:
--descriptorwill print the descriptor of the manifest:Use Case: use digest to delete the manifest:
Use case: miss the tag or digest
Use case: the manifest does not exist:
According to the discussion about UX listed in #459, newly made some modification to the above PR. Here attached some simple use cases.
yuehaoliang commentedon Sep 2, 2022
Updated some UX:







yuehaoliang commentedon Sep 7, 2022
Should
oras manifest deletesupport--platformto delete the manifest of a specific platform if target is multi-platform capable?@qweeah @shizhMSFT
shizhMSFT commentedon Sep 7, 2022
No,
--plaformshould not apply to any delete operation.