使用raspberrypi的azure iotedge定制模块

时间:2020-08-26 08:15:49

标签: azure raspberry-pi azure-iot-edge

我已经在azure中编写了一些azure自定义IoT边缘模块,并且能够在ubuntu 18.04和Windows虚拟机中运行该模块。但是当我尝试在Raspbian中运行该模块时,所有模块都无法使用将分享我的模块架构 这是我的自定义模块详细信息 this is the image details of my module 我已经借助天蓝色的快速入门链接帮助构建了模块

https://docs.microsoft.com/en-us/azure/iot-edge/how-to-vs-code-develop-module#:~:text=In%20the%20command%20palette%2C%20enter,first%20module%20in%20the%20solution

2 个答案:

答案 0 :(得分:0)

您需要将docker映像的平台更改为Linux / arm32而不是amd64,因为Raspbian操作系统是基于Linux内核的ARM 32位操作系统(64位支持在beta中,请参见{{3} }。

答案 1 :(得分:0)

您还可以同时为多种体系结构创建映像:https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/