rancher / kim

In ur kubernetes, buildin ur imagez
Apache License 2.0
326 stars 19 forks source link

rmi: resolves image id and removes that #7

Closed dweomer closed 3 years ago

dweomer commented 3 years ago

The way image removal works can lead to an unexpected result in that kim rmi your/image:tag removes all tags that may exist for the underlying image id. This may be a flaw in the CRI implementation.

We should probably re-implement image rm/rmi to work as an "un-tag" operation unless it is the last tag for the image id. This is how docker image rm appears to work.