Skip to main content
Version: 1.3.0-beta.1

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

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)
-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
--no-tty [Preview] do not show progress output
-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]
-u, --username string registry username