docker内存清理不掉 #483

Closed
opened 2025-01-20 10:27:20 +08:00 by malone · 2 comments

用docker下载并运行到容器后,删除对应的容器和镜像,执行过docker image prune docker system prune docker container prune 后发现硬盘空间仍然没有变化。应该如何清理

用docker下载并运行到容器后,删除对应的容器和镜像,执行过docker image prune docker system prune docker container prune 后发现硬盘空间仍然没有变化。应该如何清理

可能还在使用的镜像和删除的镜像共用的是同一个layer,所以实际上没有删除多少东西。如果是缓存问题,可以参考https://blog.csdn.net/qq_38924779/article/details/135035765

可能还在使用的镜像和删除的镜像共用的是同一个layer,所以实际上没有删除多少东西。如果是缓存问题,可以参考https://blog.csdn.net/qq_38924779/article/details/135035765
Author

发现要把docker关闭一下,才能释放。

发现要把docker关闭一下,才能释放。
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HswOAuth/llm_course#483
No description provided.