Should I Create a Docker Image for Motion Detection on Raspberry Pi Zero W?

December 12, 2025 1 answer
Asked by TechieTurtle123
I'm looking to set up a motion detection software that works really well on the Raspberry Pi Zero W. The issue is that the software requires PHP v7.3 and uses legacy camera support, which doesn't play nicely with the latest versions of DietPi. My question is, do you think it would be efficient to create a Docker image for this software? I want to avoid running an outdated OS, but I'm worried about whether Docker would put too much strain on the Raspberry Pi Zero W given its limited resources. This would actually be the first Docker image I've ever attempted to build, so any insights would be really helpful!

Answers

CodeCrafter99
Docker isn't usually too heavy on resources, but there is some overhead. Just keep in mind that if you build and develop directly on the Pi, it might take a bit longer to get things done since the Zero W isnโ€™t the fastest device around.

CuriousCat44: What do you mean by it might take longer? Is it slow to develop on, or are you saying performance will suffer?

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions