How do i delete all docker images?
-
Note: You only want to do this if you're in testing or development, generally not a good idea to run these command in live/prod environments, but you knew that already?
Delete all docker images.
$ docker rmi $(docker images -q)
The
docker images -q
get all the image id's and passed them to docker rmi.$ docker images -q 21df41782cc5 61ad63875109 4ac178d1a754 6b362a9f73eb
© Lightnetics 2024