Python with pysnmp and pymodbus.
1.7K
The working directory inside the container defaults to /app
To execute a python script directly from the host system cd into the directory containing the python script and enter:
docker run --rm -it -v $(pwd):/app wagoautomation/python:3.8-pysnmp-pymodbus-alpine-98 <mypythonscript.py>
For convinience you could create a permanent alias by adding following line in ~.profile in your host system:
alias python="docker run --rm -it -v $(pwd):/app wagoautomation/python:3.8-pysnmp-pymodbus-alpine-98"
and just call
python <mypythonscript.py>
to execute a python script or simply call
python
to open python interactively.
Content type
Image
Digest
Size
168.9 MB
Last updated
about 5 years ago
docker pull wagoautomation/python:3.8-scipy-sklearn-influxdb