有什么办法让镜像更加好管理呢?
各位docker images显示的镜像有多少个?
会帮你删除所有<none>
镜像...
docker images|grep none|awk '{print $3}'|xargs docker rmi
给你个清理镜像的命令
docker rmi $(docker images -q)
会帮你清除掉没用的镜像。
分组啊docker images|grep <imagename>
在cmd
下的话这个就很好用啊。
参考一个这个
https://github.com/shipyard/s...
部署之后会有一个web UI 页面。可以用来管理你的容器,容器多了,可以再搜索框搜索关键字。而且通过这个界面可以做很多功能,如容器的下载,启动,监控等
https://shipyard-project.com/...
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...
还可以看看这个 mesos
http://mesos.apache.org/
镜像多一点又有何妨,最多就是看着多而已,使用时也并不是需要先从docker images
里找到才能用。
如果觉得镜像太多占用空间,可以定期清理无用的镜像。