docker 删除缓存
docker在长时间使用之后会存在很多cache 占用大量磁盘空间。
·
前言
docker在长时间使用之后会存在很多cache 占用大量磁盘空间
清除命令
docker system prune --volumes
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all volumes not used by at least one container
- all dangling images
- all dangling build cache
警告!这将删除:
-所有停止的容器
-至少一个容器未使用的所有网络
-至少一个容器未使用的所有卷
-所有悬空图像
-所有悬空构建缓存
更多推荐
已为社区贡献3条内容
所有评论(0)