We differ between:
- Dockerfile: Blueprint for building images
- Image: Template for running containers
- Container: Running process with the packaged project
$ docker build -t python-imdb . Without user input:
$ docker run python-imdbIf you want user input (comment out the break in main.py):
$ docker run -t -i python-imdb-i: interactive, -t: pseudo terminal