I would add the -v flag: docker rm -v $(docker ps -a -q) else volumes will remain on the hard drive eating up space. Of course, be sure you want to delete your volumes and don't accidently delete data containers.
I would add the -v flag:
docker rm -v $(docker ps -a -q)
else volumes will remain on the hard drive eating up space. Of course, be sure you want to delete your volumes and don't accidently delete data containers.