找回密码
 注册
查看: 11|回复: 0

docker 取消镜像的tag标签

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-1-5 15:00:02 | 显示全部楼层 |阅读模式
解除tag ) ^& x9 G0 I7 G
docker rmi <image_name>:<tag>- u+ S7 {5 }2 x9 [) e" M

: s) X- x7 q; H, m[root@bm-prod-billingapp01 ~]# docker images  
6 f& {3 G" b! k  c  Q, D: t) aREPOSITORY                                       TAG                 IMAGE ID            CREATED             SIZE$ b1 C( P2 v* [7 W
faef5018fcf0/portainer-2025                      latest              9eaf2e2d05f1        16 minutes ago      57MB
% b5 t! V! q0 ?" X# s& kfaef5018fcf0/portainer-2025                      tag                 9eaf2e2d05f1        16 minutes ago      57MB" b6 t4 I3 J4 N) [0 z1 X& }& P0 w; @
3 j/ P5 F( P5 j0 j

: \* U$ g% {3 J$ k/ `, R
, h1 ^8 K. a4 E0 c, u! o  D& K[root@bm-prod-billingapp01 ~]# docker rmi faef5018fcf0/portainer-2025:tag  l& d3 P/ d8 p) H
Untagged: faef5018fcf0/portainer-2025:tag
6 v8 N0 n$ }4 t7 d3 G2 [3 t  p& y7 v
查看是否解除成功:
8 D! w; @3 j! b) K[root@bm-prod-billingapp01 ~]# docker images  
& }1 k2 D. a& X( O4 aREPOSITORY                                       TAG                 IMAGE ID            CREATED             SIZE
& ~& F, F2 S: V( `faef5018fcf0/portainer-2025                      latest              9eaf2e2d05f1        18 minutes ago      57MB
8 @7 C, |9 w( u/ J# K# b) W$ _8 |) C. W4 @. D2 |  u* U
" G* S: t: j' B5 @: x5 Z
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:26 , Processed in 0.044209 second(s), 21 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表