- Run
docker build -t my-python-app .
to build your image - Start docker with
docker run -itd --name my-running-app my-python-app
- Go to docker container with
docker exec -it container-id bash
- Connection to SAP with
python /usr/local/cbpython/scripts/pythonscript.py