Open apostasie opened 4 months ago
When an image uses a tag that is a short version of another (unrelated) image repo sha, nerdctl rmi will break down.
This is another aspect of one of the many issues with our current image lookup implementation.
nerdctl pull busybox nerdctl pull alpine shortid="$(nerdctl inspect busybox | jq -rc .[0].RepoDigests[0])" shortid="${shortid##*:}" shortid="${shortid:0:8}" nerdctl tag alpine "$shortid" nerdctl rmi "$shortid"
FATA[0000] 1 errors: multiple IDs found with provided prefix: 5eef5ed3
Should have just worked and removed the tagged version of alpine.
1.7.6
None
No response
Can we reopen?
@yankay @AkihiroSuda can we reopen this?
Hi, team
I want to work on this issue, so could you assign this ?
Description
When an image uses a tag that is a short version of another (unrelated) image repo sha, nerdctl rmi will break down.
This is another aspect of one of the many issues with our current image lookup implementation.
Steps to reproduce the issue
Describe the results you received and expected
Should have just worked and removed the tagged version of alpine.
What version of nerdctl are you using?
1.7.6
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response