刪除舊資料 - jenhaoyang/backend_blog GitHub Wiki
sudo docker system prune -a -f
Name, shorthand Default Description
--all , -a Remove all unused images not just dangling ones
--filter API 1.28+
Provide filter values (e.g. ‘label==')
--force , -f Do not prompt for confirmation
--volumes Prune volumes
參考:
https://stackoverflow.com/a/46159681
https://docs.docker.com/engine/reference/commandline/system_prune/