Troubleshooting in Container Registry
The most common errors and how to resolve them are listed below:
-
docker login is not supported with ncp credential helper
Why the error occurred: If you use Docker credential helpers, you cannot get authenticated in Container Registry using your
docker login
.How to fix it: Get authenticated in the registry using Docker credential helper or disable Docker credential helper.
-
Got permission denied while trying to connect to the Docker daemon socket
Why the error occurred: The Docker daemon requires
root
permission to execute commands by default.Fix: Run commands using
sudo
or configure access for other operating system users . -
name unknown: Registry <...> not found
Why the error occurred: The registry ID is missing or invalid. When using Docker CLI commands, you must specify the full name of a Docker image, including the registry ID. For more information, see Repository in Container Registry.
How to fix it: Check the validity of your unique registry ID in the registry list.