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:
Make sure the Docker daemon is active on your system.
Use the
--registryglobal flag to specify which registry you want to access.Run the following command in your terminal and replace
<registry_name>with your target registry name.
./cldkctl --registry <registry_name> registry loginWhen prompted, enter your user login password (the same password used to log in to the Service Portal AI).
After successful authentication, the message “Login to registry success” will appear.



Flags
This command supports global flags. Refer to the Global Flags section for details
-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
