docker 刪除 / 停止/ 清空所有緩存及 image process

清空 docker process

docker rm -vf $(docker ps -a -q)  

清空 docker images

docker rmi -f $(docker images -a -q)  

淨空 docker 所有的緩存及暫存檔案

docker system prune -a --volumes  

參考資料

https://stackoverflow.com/questions/44785585/how-to-delete-all-docker-local-docker-images

CaesarChi

Web developer, focus on website fullstack, special JavaScript, and love sharing developing experience and communicate with developers. http://about.me/clonn