What docker images should I use on a RaspberryPi?

You’re mentioning balena so I’ll share my recent experience with trying to set up EdgeX on balena, on a raspberry pi 3
The short answer is, it’s difficult and we gave up after quite a while of trying to find a working configuration.
To get into more detail: currently the default setup of EdgeX relies on mongo, and mongo only runs on a 64 bit OS/docker (as mentioned before, docker does not do any instruction set translation). Afaik there is work ongoing to replace mongo with redis which supports 32 bit, but not all services support it yet and the documentation also doesn’t really exist.
On the other hand, balena for raspberry pi 3 only comes in a 32 bit version. They are working on a 64 bit version which you can find in the meta-balena-raspberrypi repo on github, but its status is still experimental and if you want to run it then you’ll need to use yocto to build the system image from source yourself (the first time build takes many hours and around 80GB of disk space :slight_smile: ). But even then, you might have problems with edgex on the pi 3, due to mongo’s quite high memory requirements…
In summary, if you want to run edge x on the pi, you probably need to wait for official 32 bit support. Hopefully that comes sooner rather than later!

Hey @maciej.ldc, thank you for taking time to share your experience.

Today I had great progress, since 2 days ago Balena released their open BETA regarding BalenaOS64 for raspberry pi. I have loaded the correct containers from Edgex and currently trying to squash little bugs here and there and appear during container initiation.

The last challenge is a problem that I suspect is due to some problem regarding the internal DNS, not sure yet.

I would be happy to share with you my experience, maybe you can help me and if we get it going, we can release a walkthrough to link the two ecosystems!

DM here or in slack, same mail.

Cheers!

Take a look at Troubleshooting EdgeX and Docker networking if you think it might be a docker DNS issue

Hey everyone,

I ran ifconfig -a but I see no docker bridge network. Perhaps balena has different network settings, will look into it during the weekend.

root@affcc03:~# ifconfig -a  
balena0   Link encap:Ethernet  HWaddr 02:42:0B:90:CA:EF  
          inet addr:10.114.101.1  Bcast:10.114.101.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-320e9f56f98d Link encap:Ethernet  HWaddr 02:42:0D:BB:87:45  
          inet addr:172.18.0.1  Bcast:172.18.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-72c073a89d77 Link encap:Ethernet  HWaddr 02:42:1E:30:95:D8  
          inet addr:172.19.0.1  Bcast:172.19.255.255  Mask:255.255.0.0
          inet6 addr: fe80::42:1eff:fe30:95d8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1840856 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1830659 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:113332590 (108.0 MiB)  TX bytes:136892809 (130.5 MiB)

eth0      Link encap:Ethernet  HWaddr B8:27:EB:7A:42:F4  
          inet addr:192.168.1.9  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5f35:9c5f:cdf9:e282/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1041782 errors:0 dropped:2 overruns:0 frame:0
          TX packets:682556 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:964206378 (919.5 MiB)  TX bytes:201586224 (192.2 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:25127 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25127 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2882523 (2.7 MiB)  TX bytes:2882523 (2.7 MiB)

resin-dns Link encap:Ethernet  HWaddr 82:C4:D8:10:A3:78  
          inet addr:10.114.102.1  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::80c4:d8ff:fe10:a378/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3423 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:514537 (502.4 KiB)

resin-vpn Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.240.35.78  P-t-P:52.4.252.97  Mask:255.255.255.255
          inet6 addr: fe80::f8f:e806:b69b:9193/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:13308 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14621 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:1793901 (1.7 MiB)  TX bytes:1778536 (1.6 MiB)

supervisor0 Link encap:Ethernet  HWaddr 02:42:3C:E4:C1:25  
          inet addr:172.17.0.1  Bcast:172.17.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

veth00c58bc Link encap:Ethernet  HWaddr 7A:8C:B3:56:BA:FA  
          inet6 addr: fe80::788c:b3ff:fe56:bafa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34 errors:0 dropped:0 overruns:0 frame:0
          TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3229 (3.1 KiB)  TX bytes:7966 (7.7 KiB)

veth039e880 Link encap:Ethernet  HWaddr 26:4D:25:FA:A7:B9  
          inet6 addr: fe80::244d:25ff:fefa:a7b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:37 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3543 (3.4 KiB)  TX bytes:9218 (9.0 KiB)

veth19e0707 Link encap:Ethernet  HWaddr E6:FB:1C:2F:C8:2E  
          inet6 addr: fe80::e4fb:1cff:fe2f:c82e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21758 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:2570217 (2.4 MiB)

veth2f55767 Link encap:Ethernet  HWaddr 42:11:78:71:9E:8E  
          inet6 addr: fe80::4011:78ff:fe71:9e8e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5734 (5.5 KiB)  TX bytes:15413 (15.0 KiB)

veth4be3248 Link encap:Ethernet  HWaddr F6:CC:76:56:79:45  
          inet6 addr: fe80::f4cc:76ff:fe56:7945/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1884416 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1949827 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:562058328 (536.0 MiB)  TX bytes:434684867 (414.5 MiB)

veth5104649 Link encap:Ethernet  HWaddr 3A:C1:49:D0:76:EE  
          inet6 addr: fe80::38c1:49ff:fed0:76ee/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:62299 errors:0 dropped:0 overruns:0 frame:0
          TX packets:75633 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:11317349 (10.7 MiB)  TX bytes:54829615 (52.2 MiB)

veth58af178 Link encap:Ethernet  HWaddr 2A:50:35:EF:7B:36  
          inet6 addr: fe80::2850:35ff:feef:7b36/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:245 errors:0 dropped:0 overruns:0 frame:0
          TX packets:285 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:19696 (19.2 KiB)  TX bytes:27845 (27.1 KiB)

veth95835f0 Link encap:Ethernet  HWaddr FA:33:A3:9D:54:0F  
          inet6 addr: fe80::f833:a3ff:fe9d:540f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:43494 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60402 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7715965 (7.3 MiB)  TX bytes:29213335 (27.8 MiB)

vethcfd6e77 Link encap:Ethernet  HWaddr DE:7D:1E:75:A1:D0  
          inet6 addr: fe80::dc7d:1eff:fe75:a1d0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:55 errors:0 dropped:0 overruns:0 frame:0
          TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4933 (4.8 KiB)  TX bytes:13555 (13.2 KiB)

vethd145403 Link encap:Ethernet  HWaddr 36:B5:AD:30:D8:51  
          inet6 addr: fe80::34b5:adff:fe30:d851/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:617055 errors:0 dropped:0 overruns:0 frame:0
          TX packets:638990 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:51982611 (49.5 MiB)  TX bytes:84932621 (80.9 MiB)

vethe0be753 Link encap:Ethernet  HWaddr D6:E7:D5:03:D2:7C  
          inet6 addr: fe80::d4e7:d5ff:fe03:d27c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21897 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:2587601 (2.4 MiB)

vethfd05e09 Link encap:Ethernet  HWaddr 86:DE:44:00:47:45  
          inet6 addr: fe80::84de:44ff:fe00:4745/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31903 errors:0 dropped:0 overruns:0 frame:0
          TX packets:58142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6947196 (6.6 MiB)  TX bytes:34427919 (32.8 MiB)

wlan0     Link encap:Ethernet  HWaddr 9E:11:7E:A3:91:8D  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)