1、首先安装本地docker,本地操作不做解释,很简单然后安装成功后用cmd命令行进行登录
    docker login —username=用户名 registry.cn-hangzhou.aliyuncs.com
    2、打包镜像标签
    docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/test-wms/gaojin-test:[镜像版本号]
    3、推送镜像到阿里仓库
    docker push registry.cn-hangzhou.aliyuncs.com/test-wms/gaojin-test:[镜像版本号]
    4、拉去仓库镜像对应版本
    docker pull registry.cn-hangzhou.aliyuncs.com/test-wms/gaojin-test:[镜像版本号]
    5、启动镜像
    docker run -d —name 容器名称 -p 808:808 -v /data/guolei/uploadPath:/home/softding/uploadPath —restart=always 镜像:版本