I have a docker container that has the required dependencies to run a python script thus
nvidia-docker run -it -v /home/user/:/home/user docker/ver:latest #Inside the docker container python script.py
nvidia-docker run -v /home/user/:/home/user docker/ver:latest python script.py
Gives python dependency issues as if it is using a different version of python and
.bashrc has not been loaded.