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
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`?
The text was updated successfully, but these errors were encountered:
qweeah
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
Dec 26, 2023
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
Suggested error message:
The text was updated successfully, but these errors were encountered: