docker 删除某个tag

浏览:37日期:2023-02-17

问题描述

如何删除某些tag/REPOSITORY

REPOSITORY TAG IMAGE ID CREATED SIZEhub.doge.com/ubuntu latest 9c2500c524c6About a minute ago 199.9 MBhub.doge.net/ubuntu latest 9c2500c524c6About a minute ago 199.9 MB

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

问题解答

回答1:

以第一个为例,docker rmi -f hub.doge.com/ubuntu:latest请题主采纳!

相关文章: