Hacker News new | ask | show | jobs
by assaflavie 3433 days ago
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)