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
$ oras manifest fetch -h
[Preview] Fetch manifest of the target artifact
** This command is in preview and under development. **
Example - Fetch raw manifest:
oras manifest fetch localhost:5000/hello:latest
Example - Fetch the descriptor of a manifest:
oras manifest fetch --descriptor localhost:5000/hello:latest
Example - Fetch manifest with specified media type:
oras manifest fetch --media-type 'application/vnd.oci.image.manifest.v1+json' localhost:5000/hello:latest
Example - Fetch manifest with certain platform:
oras manifest fetch --platform 'linux/arm/v5' localhost:5000/hello:latest
Example - Fetch manifest with prettified json result:
oras manifest fetch --pretty localhost:5000/hello:latest
Usage:
oras manifest fetch [flags] <name:tag|name@digest>
Aliases:
fetch, get
Flags:
--ca-file string server certificate authority file for the remote registry
-d, --debug debug mode
--descriptor output the descriptor
-h, --help help for fetch
--insecure allow connections to SSL registry without certs
--media-type strings accepted media types
-o, --output string output file path
-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
--platform string fetch the manifest of a specific platform if target is multi-platform capable
--pretty prettify JSON objects printed to stdout
--registry-config stringArray auth config path
-u, --username string registry username
-v, --verbose verbose output
Provides more examples or add the form messages for platform flag, e.g.,
--platform string fetch the manifest of a specific platform if target is multi-platform capable, specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64)
The text was updated successfully, but these errors were encountered:
Current documentation:
Provides more examples or add the form messages for platform flag, e.g.,
The text was updated successfully, but these errors were encountered: