您的位置:首页技术文章
文章详情页

docker images显示的镜像过多,狗眼被亮瞎了,怎么办?

【字号: 日期:2024-10-18 17:56:08浏览:8作者:猪猪

问题描述

有什么办法让镜像更加好管理呢?各位docker images显示的镜像有多少个?

问题解答

回答1:

镜像多一点又有何妨,最多就是看着多而已,使用时也并不是需要先从docker images里找到才能用。如果觉得镜像太多占用空间,可以定期清理无用的镜像。

回答2:

Step 3: Install Universal Control Plane

Docker Universal Control Plane (UCP) allows managing from a centralized place your images, applications, networks, and other computing resources.

Docker通用控制面板可以集中管理你的docker image ,network和其它计算资源https://docs.docker.com/datac...

还可以看看这个 mesoshttp://mesos.apache.org/

回答3:

参考一个这个https://github.com/shipyard/s...部署之后会有一个web UI 页面。可以用来管理你的容器,容器多了,可以再搜索框搜索关键字。而且通过这个界面可以做很多功能,如容器的下载,启动,监控等https://shipyard-project.com/...docker images显示的镜像过多,狗眼被亮瞎了,怎么办?

回答4:

分组啊docker images|grep <imagename>

在cmd下的话这个就很好用啊。

回答5:

给你个清理镜像的命令

docker rmi $(docker images -q)

会帮你清除掉没用的镜像。

回答6:

会帮你删除所有<none>镜像...docker images|grep none|awk ’{print $3}’|xargs docker rmi