docker镜像构建、镜像打tag、镜像推送
镜像构建:将本地镜像打包
docker buile -t isoName:tag -f /Dockerfile
isoName:镜像名称
tag :版本号
Dockerfile:dockerfile文件
镜像打tag:镜像添加版本号
docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/nginx_wy/nginx_wy:[镜像版本号]
ImageId:镜像ID
registry.cn-hangzhou.aliyuncs.com/nginx_wy/nginx_wy:远程仓库域名及名称
镜像推送:镜像推送到远程仓库
docker push registry.cn-hangzhou.aliyuncs.com/nginx_wy/nginx_wy:[镜像版本号]