公司没有专门的运维人员,选择了用 docker 作为日常的部署,运行一段时间后就会发现服务器上和 registry 中留下了一堆没用的 image,大家一般是怎么维护这些 image 的,定期清理吗?
1
touchwithe 341 天前 via iPhone ![]() docker prune image
|
![]() |
2
3dwelcome 341 天前
留着除了占硬盘,又没别的用。
当然服务器通常硬盘大,可能也无所谓。 |
![]() |
3
tyit 341 天前
docker prune image -a -f
|
4
akuo 341 天前
registry 的参数居多,好像有一个是自动清理的参数,百度下
|