docker build -f .\host\LingFang.IoT.SmartRetail.MarketingService.HttpApi.Host\Dockerfile-t registry.cn-shenzhen.aliyuncs.com/myj/iot.marketing.api:0.1.0 .
:::info
docker build -f dokerfile 文件地址 -t 镜像名
:::
提交到远程仓库需要先登录远程仓库:
docker login 远程仓库名 -u 远程仓库地址 -p 密码
docker login registry.cn-shenzhen.aliyuncs.com/myj -u feynman0919
或者直接 docker login 远程仓库名 -u 远程仓库地址 然后提示输入密码
登录后可提交docker 仓储镜像到远程仓储中
docker push 本地仓储镜像名:tag版本
docker push registry.cn-shenzhen.aliyuncs.com/myj/admin.web:lastest
