So develop a bit. 1
Hello. 2
Question is do you have any tips for prototyping on Raspberry Pi with Docker for ease of dev ops on 3
IOT projects. 4
So let's see IO T projects with raspberry pi. 5
So the interesting thing is you can run. 6
So first off yet to think about architecture right the CPA architecture on a Raspberry Pi is not X 86 7
like an intel right. 8
It's an ARM 64 I believe. 9
So the first thing is if you're using Docker from Mac or Docker for Windows right the docker desktop 10
client you can run those arm 64 containers on your local machine just to get make sure your software 11
works right and your docking file works right and all that stuff before you send it over to the Raspberry 12
Pi so that's a huge problem solver right. 13
So that means you can develop your app locally or mess with your apps locally in ARM 64 containers right. 14
So you're going to need to use ALM 64 Frum's in your Docker file and then whatever stuff you need to 15
add into your image you can be building no you can build those locally and you can send them up to a 16
registry. 17
Right. 18
And then jump in your raspberry pi however you want to do that whether it's over USP or you just plug 19
it in directly to you know some sort of K VM solution or you SSA to it over the network however you 20
want to get to it then you would have Docker on that machine. 21
All right on that pie and then you would pull down the images and run them to make sure that they run 22
the way you expect on that raspberry pi. 23
So I am not a Raspberry Pi expert but from my friends that are the sense I get is that it you wouldn't 24
necessarily be developing or creating your containers images rather on the Raspberry Pi you wouldn't 25
necessarily be building it mean even even though you could it's probably easier for to do that all locally 26
on your macro Windows machine and the way that all works by the way is QE IMU 27
so QE EMU is an emulation function feature basically that you can download and use QE you with other 28
things but it's built into Docker with the desktop edition so it allows you to run not just arm but 29
also other types of architectures and processors and it will run those inside your Docker Linux VM in 30
the background transparently and so they'll act like regular x 86 containers and then once you get things 31
rolling in the correct then you would upload your image to a registry that your PI would have access 32
to and then you could pull those images and run them on your PI. 33
Right. 34
I think that's a better workflow than trying to make your PI sort of your your container developer situation 35
right. 36
You technically don't even need the PI to build it. 37
So go check that out. 38
And if you need more resources on that there's a couple of really great people in the armed community. 39
Alex Ellis has a blog. 40
So that's Alex Ellis. 41
Dot IO and I'll throw that your URL in chat. 42
Yeah just in case you weren't aware he does some pretty interesting examples of PI's sort of how to 43
use Docker with PI and all that. 44
He actually builds little raspberry pi clusters for swarm and all that so check out his blog articles 45
for more information. 46
He is a much better resource than I am.