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

regctl registry whoami

Synopsis

Displays the username for a given registry.

regctl registry whoami [registry]

Examples

# show the login on Docker Hub
regctl registry whoami

# show the login on another registry
regctl registry whoami registry.example.org

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")