IoT Edge : device can't download my module from Azure Container Registry but it can from dockerhub

后端 未结 2 422
春和景丽
春和景丽 2021-01-19 07:26

I followed this azure example to develop my module connectedbarmodule in python for Azure IoT Edge. Then , I followed this link to deploy my module in my de

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-19 08:09

    Your Azure Container Registry is private. Hence, you need to add the credentials for it in order for the edgeAgent to be download images from private registries:

    • Through the Azure Portal: In the first step of "Set Modules"

    • When done through deployments in Visual Studio Code:

    "In the VS Code explorer, open the .env file. Update the fields with the username and password values that you copied from your Azure container registry." (https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-c-module#add-your-registry-credentials)

提交回复
热议问题