oras repo ls
List the repositories under the registry
oras repo ls [flags] <registry>
Examples
List the repositories under the registry:
oras repo ls localhost:5000
List the repositories under a namespace in the registry:
oras repo ls localhost:5000/example-namespace
List the repositories under the registry that include values lexically after last:
oras repo ls --last "last_repo" localhost:5000
[Experimental] List the repositories under the registry in JSON format:
oras repo ls localhost:5000 --format json
[Experimental] List the repositories under the registry using the given Go template:
oras repo ls localhost:5000 --format go-template --template "{{.repositories}}"
Options
--ca-file string server certificate authority file for the remote registry
--cert-file string client certificate file for the remote registry
-d, --debug output debug logs (implies --no-tty)
--format string [Experimental] format output using a custom template:
'json': Print in JSON format
'go-template': Print output using the given Go template
'text': Print in text format (default "text")
-H, --header stringArray add custom headers to requests
-h, --help help for ls
--identity-token string registry identity token
--identity-token-stdin read identity token from stdin
--insecure allow connections to SSL registry without certs
--key-file string client private key file for the remote registry
--last last start after the repository specified by last
-p, --password string registry password or identity token
--password-stdin read password from stdin
--plain-http allow insecure connections to registry without SSL check
--registry-config path path of the authentication file for registry
--resolve host:port:address[:address_port] customized DNS for registry, formatted in host:port:address[:address_port]
--template string [Experimental] template string used to format output
-u, --username string registry username