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
The code makes some assumptions, on the return value when returning an error:
imageInspect, err:=ds.client.InspectImageByID(image.Image)
// dockerclient.InspectImageByID doesn't work with digest and repoTags,// it is safe to continue removing it since there is another check below.iferr!=nil&&!libdocker.IsImageNotFoundError(err) {
returnnil, err
}
ifimageInspect==nil {
// image is nil, assuming it doesn't exist.return&runtimeapi.RemoveImageResponse{}, nil
}
The code comment explaining the current behaviour has been deleted... 8737219
// TODO: We assume image.Image is image ID here, which is true in the current implementation// of kubelet, but we should still clarify this in CRI.
Unfortunately, it doesn't work with the short Id from the crictl output. Only the full id.
There is no error reported in
crictl
, but the image still remains.sudo crictl rmi ...
There seems to be an internal error in the log, about a reference ?
The image reference ... was not a digest reference
The text was updated successfully, but these errors were encountered: