Tech Note: Dockerizing your Python Application on a Wago Controller




docker-python.pdf (236.2 KB)

5 Likes

Another option is to make a docker file to build an image based on alpine linux with python and pip installed. I found that calling docker to run a python script can take quite some time to instantiate the container, run the python script and then kill the container. If the container is running all the time, then you can just have the container call the script when needed and it will execute much faster.

1 Like

Kurt, that’s a great point! I’ll look into that too. Thanks for sharing.