Comment Comment by assaflavie fwiw, there's a new syntax for this, that is a bit more verbose, but probably worth adopting:docker container rm $(docker container ls -qa)docker image rm $(docker image ls -q) parent assaflavie 9 years ago
docker container rm $(docker container ls -qa)
docker image rm $(docker image ls -q)