regclient
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

regctl repo ls

Synopsis

List repositories in a registry. Note: Docker Hub does not support this API request.

regctl repo ls <registry> [flags]

Aliases

  • list

Examples

# list all repositories
regctl repo ls registry.example.org

# list the next 5 repositories after repo1
regctl repo ls --last repo1 --limit 5 registry.example.org

Options

      --format string   Format output with go template syntax (default "{{printPretty .}}")
      --last string     Specify the last repo from a previous request for pagination
      --limit int       Specify the number of repos to retrieve

Options from parent commands

      --host stringArray     Registry hosts to add (reg=registry,user=username,pass=password,tls=enabled)
      --logopt stringArray   Log options
      --user-agent string    Override user agent
  -v, --verbosity string     Log level (trace, debug, info, warn, error) (default "WARN")