Docker 把硬盘占满了.
PHP中文网
PHP中文网 2017-04-22 08:58:43
0
3
673
$> /var/lib/docker/devicemapper/devicemapper

这个文件已经6个 G 了. 请问有什么办法清空一下吗?

硬盘本来就不大.

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
伊谢尔伦

I found that it’s just a matter of putting the container content and pointers on another disk.

迷茫

Theoretically, the one that takes up the most space should be aufs.

You can delete the image through docker rmi
And docker rm deletes the container to clean it up.

黄舟

Use -v to map volumes when starting up. Don’t forget to delete -v when deleting the container

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!