I\'m reading a book on docker. It is a couple of years old.
I\'ll cite:
If you want to get rid of all your stopped containers, you can use the output of
It could simply means that you have no container with a status 'exited'.
The commands becomes then:
sudo docker rm -v
The lack of any parameter would trigger the error message you see.
But today, this would be done with docker container prune anyway.