Skip to content

Registry Commands

Commands for managing container registries

Aliases: r

Manage registry configurations

Usage:

Terminal window
container registry <subcommand>

Login to a registry

Usage:

Terminal window
container registry login [--username <username>] [--password-stdin] <server> [--scheme <scheme>]

Options:

  • -u, --username <username> - Username
  • --password-stdin - Take the password from stdin
  • --scheme <scheme> - Scheme to use when connecting to the container registry. One of (http, https, auto) (default: auto)

Log out from a registry

Usage:

Terminal window
container registry logout <registry> [--debug]

Manage the default image registry

Usage:

Terminal window
container registry default <subcommand>

Set the default registry

Usage:

Terminal window
container registry default set [--debug] [--scheme <scheme>] <host>

Options:

  • --scheme <scheme> - Scheme to use when connecting to the container registry. One of (http, https, auto) (default: auto)

Aliases: clear

Unset the default registry

Usage:

Terminal window
container registry default unset

Display the default registry domain

Usage:

Terminal window
container registry default inspect