要刪除多余的 Docker 鏡像,可以使用以下命令:
docker images -a
docker rmi <image_id>
docker image prune
docker rmi $(docker images -q)
請注意,刪除鏡像是不可逆操作,請謹慎使用。