The image no longer appears under docker ps -a but it still appears in docker image ls:
REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest 74cc54e27dc4 4 months ago 10.1kB
rockylinux 8.6.20227707 8cf70153e062 2 years ago 196MB
rockylinux/rockylinux 8.6 523ffac7fb2e 2 years ago 196MB
I’m trying to remove rockylinux/rockylinux.
Error response from daemon: No such container: rockylinux/rockylinux
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..