首页  >  问答  >  正文

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

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

为情所困为情所困2706 天前849

全部回复(6)我来回复

  • 漂亮男人

    漂亮男人2017-04-26 09:03:02

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

    回复
    0
  • 淡淡烟草味

    淡淡烟草味2017-04-26 09:03:02

    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/

    回复
    0
  • PHP中文网

    PHP中文网2017-04-26 09:03:02

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

    回复
    0
  • 我想大声告诉你

    我想大声告诉你2017-04-26 09:03:02

    分组啊
    docker images|grep <imagename>

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

    回复
    0
  • 習慣沉默

    習慣沉默2017-04-26 09:03:02

    给你个清理镜像的命令

    docker rmi $(docker images -q)

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

    回复
    0
  • ringa_lee

    ringa_lee2017-04-26 09:03:02

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

    回复
    0
  • 取消回复