regctl registry config
Displays the configuration used for a registry. Secrets are not included in the output (e.g. passwords, tokens, and TLS keys).
regctl registry config [registry] [flags]
# show the full config
regctl registry config
# show the configuration for a single registry
regctl registry config registry.example.org
# show the configuration for Docker Hub
regctl registry config docker.io
# show the username used to login to docker hub
regctl registry config docker.io --format '{{.User}}'
--format string Format output with go template syntax (default "{{jsonPretty .}}")
--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")