Page cover

login

The cldkctl registry login command authenticates users with a container registry using their credentials. This command allows users to log in by providing a username and password, granting access to manage repositories, artifacts, and registry settings. Before using this command, ensure your Docker daemon is running.

Usage

cldkctl registry login [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. Make sure the Docker daemon is active on your system.

  2. Use the --registry global flag to specify which registry you want to access.

  3. Run the following command in your terminal and replace <registry_name> with your target registry name.

./cldkctl --registry <registry_name> registry login
  1. When prompted, enter your user login password (the same password used to log in to the Service Portal AI).

  2. After successful authentication, the message “Login to registry success” will appear.

Flags

circle-info

This command supports global flags. Refer to the Global Flags section for details

Flag
Description

-h, --help

Help for the registry login command.

--password string

User password for authentication.

-p, --project string

Specifies the project ID to scope the operation.

Last updated