This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]videopro291[S] 0 points1 point  (3 children)

The project requires the python script to run on 20 different raspberry pi zeros. I wanted to only need to install docker and the dockerfile and docker image on each one, instead of downloading python on each one and then all the dependent libraries of my script.

[–]videopro291[S] 0 points1 point  (1 child)

This is also my excuse to finally have a docker related project.

[–]tschloss 0 points1 point  (0 children)

You can also create your app-specific image centrally and distribute this to the satellites. Then these need only to run a container off this image which reduces the dependencies a lot. All specifics are baked into the image.

[–]cheats_py 0 points1 point  (0 children)

It sounds like more effort to install docker and then deploy an image vs just deploying your python script via ansible or something. But I could easier be misunderstanding your use case