Dockerize Your Python Script

theUnknown
4 min readMar 13, 2023

How to pass arguments to your script on container creation

Photo by Guillaume Bolduc on Unsplash

The Problem

I have a python script that uses an older python version (3.8.5) and very specific versions of dependencies. I need to distribute it to a group of people who have different python versions installed, different OS and they don’t really want to bother with dependency mismatch intricacies.

--

--

theUnknown

Everything is unknown until it’s known. Self-learner.