Can I clean /var/lib/docker/tmp?

时光总嘲笑我的痴心妄想 提交于 2019-11-30 02:51:16

问题


My server is CoreOS. There are so many files in /var/lib/docker/tmp, their name's like "GetV2ImageBlob998303926".

The size of all GetV2ImageBlobxxxxxxxx files is 640MB.

Can I remove all files in /var/lib/docker/tmp?


回答1:


This is reported in issues/14506, and addressed in PR 14389, now PR 15414.

Ensure images downloaded by pullTagV2 are always cleaned up

Previously, if only some of the downloads succeed, we would not close and delete the file handles. This does change the behavior of the registration to block on all downloads completing (whereas previously it would exit early after the first failure), which is necessary to ensure cleanup is only performed after the download portion has completed.

That will be fixed in Docker 1.8 or 1.9



来源:https://stackoverflow.com/questions/31489802/can-i-clean-var-lib-docker-tmp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!