I am trying to delete a docker container by this command:
docker rmi
Obviously, I have replaced the Image-Id by the Id I get u
You need to delete the stopped container with docker rm, and then you can delete the image it uses with docker rmi.
docker rm