根据文档https://docs.microsoft.com/en-us/azure/container-registry/container-registry-quickstart-task-cli,以下命令构建并推送到注册表。如果我只需要构建然后根据我的兴趣推送怎么办。因为我必须在推送之前扫描图像。
az acr build --image sample/hello-world:v1 --registry myContainerRegistry008 --file Dockerfile 。
注意:系统上没有安装 docker 守护进程。