search

Home  >  Q&A  >  body text

docker 删除某个tag

如何删除某些tag/REPOSITORY

REPOSITORY                                   TAG                 IMAGE ID            CREATED              SIZE
hub.doge.com/ubuntu                      latest              9c2500c524c6        About a minute ago   199.9 MB
hub.doge.net/ubuntu                      latest              9c2500c524c6        About a minute ago   199.9 MB

就是这类的镜像id是一样的,我只想留其中的某一个,其余的删除怎么解决

迷茫迷茫2765 days ago890

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-04-28 09:05:19

    Take the first one as an example, docker rmi -f hub.doge.com/ubuntu:latest
    Please adopt it!

    reply
    0
  • Cancelreply