简体   繁体   English

来自私有容器注册表的 azureiotedge-diagnostics

[英]azureiotedge-diagnostics from private Container Registry

Is it possible to configure the container registry for the azureiotedge-diagnostics image download?是否可以为 azureiotedge-diagnostics 图像下载配置容器注册表? I want to move azureiotedge-diagnostics image to a private container registry.我想将 azureiotedge-diagnostics 图像移动到私有容器注册表。

As suggested by AshokPeddakotla-MSFT , along with storing your container images for custom code modules in your private Azure registry, you can also store public container images such as for the edgeAgent and edgHub runtime modules正如AshokPeddakotla-MSFT所建议的,除了将自定义代码模块的容器镜像存储在私有 Azure 注册表中,您还可以存储公共容器镜像,例如 edgeAgent 和 edgHub 运行时模块

Steps:脚步:

  1. Get the image with Docker pull command使用 Docker pull 命令获取镜像

Docker pull commands Docker 拉命令

  1. Azure IoT Edge Agent docker pull mcr.microsoft.com/azureiotedge-agent:<VERSION_TAG> Azure 物联网边缘代理docker pull mcr.microsoft.com/azureiotedge-agent:<VERSION_TAG>

  2. Azure IoT Edge Hub docker pull mcr.microsoft.com/azureiotedge-hub:<VERSION_TAG> Azure 物联网边缘中心docker pull mcr.microsoft.com/azureiotedge-hub:<VERSION_TAG>

  1. update the image references in the deployment.template.json file for the edgeAgent and edgeHub system modules.为 edgeAgent 和 edgeHub 系统模块更新 deployment.template.json 文件中的图像引用。 Replace mcr.microsoft.com with your registry name and server for both modules.mcr.microsoft.com替换为两个模块的注册表名称和服务器。
  • edgeAgent: "image": "<registry name and server>/azureiotedge-agent:1.1", edgeAgent: "image": "<registry name and server>/azureiotedge-agent:1.1",

  • edgeHub: "image": "<registry name and server>/azureiotedge-hub:1.1", edgeHub: "image": "<registry name and server>/azureiotedge-hub:1.1",

reference: https://learn.microsoft.com/en-us/azure/iot-edge/production-checklist?view=iotedge-2020-11#store-runtime-containers-in-your-private-registry参考: https://learn.microsoft.com/en-us/azure/iot-edge/production-checklist?view=iotedge-2020-11#store-runtime-containers-in-your-private-registry

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从 azure 中的 Dockerfile 向私人 npm 注册表进行身份验证? - Authenticate to private npm registry from Dockerfile in azure? 如何使用私有 Azure Container Registry 创建一个 Azure APP Service? - How to create a Azure APP Service with a private Azure Container Registry? Azure Container Registry 无法解析连接在同一个 .NET 中的私有端点 - Azure Container Registry unable to resolve Private Endpoints connected in same VNET 无法从 docker 构建中的工件注册表安装私有依赖项 - Cannot install private dependency from artifact registry inside docker build 如何将 docker 图像从私有第三方注册表迁移到 Google 神器注册表? - How to migrate docker images from private third party registry to Google artifact registry? 为什么我看不到 Container Registry 中的图像? - Why can I not see the images from the Container Registry? 如何在不同项目中使用容器注册表中的图像? - How to use an image from container registry in different project? 从 microk8s 连接到 Azure 容器注册表 - Connect to Azure container registry from microk8s Google Cloud Container Registry/Artifact Registry 权限 - Google Cloud Container Registry/Artifact Registry Permissions 从 Azure Container Registry 拉取镜像到 Azure Container Instances 时如何使用 SystemAssigned identity? - How can I use a SystemAssigned identity when pulling an image from Azure Container Registry into Azure Container Instances?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM