Unable to delete an image due to 'No such container'

If you saw that somewhere in the documentation, please, share where you have seen it, so we can inform the maintainers of the documentation. It shouldn’t mention “image name” after “docker rm”.

There is a very similar command which is “docker rmi <image name>” with just an additional “i” that means “image”. it could be easy to miss that sometimes either when reading or when writing..