You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
improve error message when namespace is not specified in the reference of Dockerhub artifacts #1216
Users might forget to add the namespace (e.g. library#1151) when pulling or copying Dockerhub images and get unexpected 401. Need to improve the error message and suggest user to add namespace.
Current behavior
$ oras pull docker.io/nginx:latestError: failed to resolve latest: GET "https://registry-1.docker.io/v2/nginx/manifests/latest": response status code 401: unauthorized: authentication required: [map[Action:pull Class: Name:nginx Type:repository]]
Suggested error message:
$ oras pull docker.io/nginx:latestError response from registry: pull access denied for docker.io/nginx:latest : response status code 401: unauthorized: requested access to the resource is deniedNamespace is missing, do you mean `oras pull docker.io/library/nginx:latest`?
changed the title [-]improve error message when no namespace is not specified in the reference of Dockerhub artifacts[/-][+]improve error message when namespace is not specified in the reference of Dockerhub artifacts[/+]on Dec 26, 2023
Activity
[-]improve error message when no namespace is not specified in the reference of Dockerhub artifacts[/-][+]improve error message when namespace is not specified in the reference of Dockerhub artifacts[/+]