Hi I tried
sudo nvidia-docker run --rm -ti -p 5001:5001 mydocker5 sh
cd /app/mydir/lib
./make.sh
and it gives the same result as
sudo nvidia-docker run --rm -ti -p 5001:5001 mydocker5 bash
cd /app/mydir/lib
./make.sh
docker run … -w /app/mydir/lib mydocker5 ./make.sh
Also gives the same (correct ) result.
But normally I run sudo nvidia-docker run --rm -ti -p 5001:5001 mydocker5
because in my docker file i have a CMD [ “mod_wsgi-express”, “start-server”, “–port”, “5001”, “–user”,
“apache”, “–group”, “root”, “–log-to-terminal”, “wsgi.py” ]
that i want to run that will use the compiled results from that make.sh which when run from the docker file is wrong…