Docker给镜像创建标签

给镜像创建标签
[root@docker ~]# docker tag fuchao:latest fuchao_push:latest

测试:查看

[root@docker ~]# docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
fuchao latest 8be9f7652ab5 40 minutes ago 202.3 MB
fuchao_push latest 8be9f7652ab5 40 minutes ago 202.3 MB

你可能感兴趣的:(Docker给镜像创建标签)