Docker How to delete all local Docker images

0 votes
I recently began using Docker and had no idea that instead of ctrl-c or docker-compose stop, I should use docker-compose down to terminate my tests. I now have a big number of docker images that are no longer needed on my local machine.

Is there a command I can use to delete all local Docker images and containers?

There isn't anything like docker rmi --all --force --all flag, but I'm seeking for anything comparable.
Apr 28, 2022 in Docker by Abhijeet
• 180 points

edited Mar 4 44 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP