oimhtw
Last Updated: October 11, 2018
·
249
· RobinCK

Clear docker images and containers

docker rm $(docker ps -aq) - remove all containers
docker rmi $(docker images -q) - remove all images
docker stop $(docker ps -a -q) - stop all Docker containers

2 Responses
Add your response

29758

You can use docker system prune to remove all data.

8 months ago ·
29803

And docker volume prune

7 months ago ·
Filed Under