Dockerize a simple Python script with third-party modules 1. Build the Docker image $ docker build -t python-imdb . 2. Run the Docker image Without user input: $ docker run python-imdb If you want user input (comment out the break in main.py): $ docker run -t -i python-imdb -i: interactive, -t: pseudo terminal