然后将nginx:1.23.3镜像通过tag将其标记为moonrong/nginx:1.23.3
nginx:1.23.3
tag
moonrong/nginx:1.23.3
[root@newdocker2 ~]# docker tag nginx:1.23.3 moonrong/nginx:1.23.3[root@newdocker2 ~]#
再列出本地镜像:
[root@newdocker2 ~]# docker image ls -aREPOSITORY TAG IMAGE ID CREATED SIZEnginx 1.23.3 3f8a00f137a0 3 weeks ago 142MBmoonrong/nginx 1.23.3 3f8a00f137a0 3 weeks ago 142MBredis latest 2e50d70ba706 8 months ago 117MBnginx <none> 55f4b40fe486 8 months ago 142MBbusybox latest 62aedd01bd85 8 months ago 1.24MBubuntu latest 27941809078c 8 months ago 77.8MBnginx <none> 0e901e68141f 9 months ago 142MBnginx latest 605c77e624dd 14 months ago 141MBcentos 7.9.2009 eeb6ee3f44bd 17 months ago 204MBcentos latest 5d0da3dc9764 17 months ago 231MBcouchbase/centos7-systemd latest a7192f6d537a 4 years ago 411MB[root@newdocker2 ~]#
服务热线
1391-024-6332