Troubleshooting in Container Registry
The most common errors and how to resolve them are listed below:
-
docker login is not supported with yc credential helper
Why the error occurred: If you use Docker Credential helper, you can't authenticate in Container Registry using your
docker login
. You can also see the same error in Container Optimized Image where Credential helper is used to authenticate on behalf of a service account associated with a virtual machine.How to fix it: Authenticate 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 the Docker image that includes the registry ID. For more information, see Repository.
How to fix it: Check the validity of your unique registry ID in the registry list.