If I understand, you download the latest docker English version (docker pull dbpedia/spotlight-english). The new version is tagged as “databus”, if this version works fine it will be the next latest version:
docker pull dbpedia/spotlight-english:databus
After downloading this new version, run the following command:
docker run -i -p 2222:80 dbpedia/spotlight-english:databus spotlight.sh
but I am not sure how it works on mac machines.
If it is possible, maybe you can try with the docker image dbpedia/spotlight-databus:v.0.2, following the steps posted. Thanks in advanced.
and about the other question:
Anything you would recommend on how to run the docker and how to stop it from within a python script?
An option could be to run a bash script from python. This bash script will contain the instructions to stop docker:
docker kill [name_of_docker_image]
docker rm [name_of_docker_image]
and other file to start the docker image. I hope this helps you.
My best regards