推送docker镜像到阿里云仓库介绍
1. 创建镜像
[root@graph1 zzx]# docker build -f Dockerfile -t registry.cn-hangzhou.aliyuncs.com/vcs-deploy/test/api_server:v1.1 .
2. 给要推送的镜像打标签
[root@graph1 zzx]# docker tag api_server:1.0 registry.cn-hangzhou.aliyuncs.com/vcs-deploy/test/api_server:v1.0
[root@graph1 zzx]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
api_server