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

后端 未结 2 423
春和景丽
春和景丽 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条回答
  •  面向向阳花
    2021-01-19 08:23

    For your issue, you can use the command docker login -u -p which shows in the example you posted. About the authentication of Azure Container Registry, there are two ways you can choose.

    One is that use the user and password which shows in your ACR on the Azure portal.

    Another is that you can use the Azure Service Principal, you can set the permission for the user. Follow document Azure Container Registry authentication with service principals. I would suggest this way much more than the first because it's safer.

    It's just an advice. Hope this will help you and if you need more help please show me the message.

提交回复
热议问题