Run the following command to log on to the image repository
sudo docker login --username= <Username> <Domain name of the repository>
As prompted in the command output, enter the password that you set when you activated Container Registry.
Note: If you forget your password, you can reset it. For more information, see Configure an access credential.