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
if e, ok := err.(*Error); ok {
if e.Status == http.StatusNotFound {
return nil, ErrNoSuchImage
}
this part should also justify the exact error message ,such as this:
if e.Status == http.StatusNotFound && strings.Contains(e.Message, "No such image")
because it the network resource is not exist ,the docker daemon service also response StatusNotFound
The text was updated successfully, but these errors were encountered:
if e, ok := err.(*Error); ok {
if e.Status == http.StatusNotFound {
return nil, ErrNoSuchImage
}
this part should also justify the exact error message ,such as this:
if e.Status == http.StatusNotFound && strings.Contains(e.Message, "No such image")
because it the network resource is not exist ,the docker daemon service also response StatusNotFound
The text was updated successfully, but these errors were encountered: