1
1
---
2
2
title : oras manifest fetch
3
- sidebar_position : 110
3
+ sidebar_position : 150
4
4
---
5
5
6
6
# oras manifest fetch
7
7
8
- Fetch manifest of the target artifact.
8
+ Fetch manifest of the target artifact
9
9
10
10
``` bash
11
11
oras manifest fetch [flags] < name> {:< tag> | @< digest> }
@@ -43,7 +43,7 @@ Fetch manifest from a registry with prettified json result:
43
43
oras manifest fetch --pretty localhost:5000/hello:v1
44
44
```
45
45
46
- Fetch raw manifest from an OCI layout folder 'layout-dir':
46
+ Fetch raw manifest from an OCI image layout folder 'layout-dir':
47
47
48
48
``` bash
49
49
oras manifest fetch --oci-layout layout-dir:v1
@@ -61,18 +61,19 @@ oras manifest fetch --oci-layout layout.tar:v1
61
61
--ca-file string server certificate authority file for the remote registry
62
62
-d, --debug debug mode
63
63
--descriptor output the descriptor
64
+ -H, --header stringArray add custom headers to requests
64
65
-h, --help help for fetch
65
66
--insecure allow connections to SSL registry without certs
66
67
--media-type strings accepted media types
67
- --oci-layout set target as an OCI image layout.
68
+ --oci-layout set target as an OCI image layout
68
69
-o, --output path file path to write the fetched manifest to, use - for stdout
69
70
-p, --password string registry password or identity token
70
71
--password-stdin read password or identity token from stdin
71
72
--plain-http allow insecure connections to registry without SSL check
72
73
--platform os[/arch][/variant][:os_version] request platform in the form of os[/arch][/variant][:os_version]
73
74
--pretty prettify JSON objects printed to stdout
74
- --registry-config path path of the authentication file
75
- --resolve host:port:address customized DNS formatted in host:port:address
75
+ --registry-config path path of the authentication file for registry
76
+ --resolve host:port:address[:address_port] customized DNS for registry, formatted in host:port:address[:address_port]
76
77
-u, --username string registry username
77
78
-v, --verbose verbose output
78
- ```
79
+ ```
0 commit comments