Post# 1572416711

30-Oct-2019 12:25 pm


Here's the difference between how to run a python script natively vs through docker :

Native :
$ python myscript.py

The above will convert to the following when ran through docker
$ docker exec container python myscript.py

The difference being when running natively, you are running your local computer's python, while in the later case python within that docker container will run on the same script that you have saved on your disk.

30-Oct-2019 12:25 pm

Published
30-Oct-2019