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