Directories specified in LD_LIBRARY_PATH do not exist
Discovered the following while examining the environment variables available via printenv
in the CUDA 9.2 centos7 images. Some variables (e.g. PATH) have the proper path, '/usr/local/cuda', in addition to the non-existent path, '/usr/local/nvidia', but an important one, 'LD_LIBRARY_PATH', only has the incorrect path.
docker run --runtime=nvidia --rm nvidia/cuda:9.2-devel-centos7 bash -c 'echo $LD_LIBRARY_PATH | xargs -l -d : ls'
ls: cannot access /usr/local/nvidia/lib: No such file or directory
ls: cannot access /usr/local/nvidia/lib64: No such file or directory
docker run --runtime=nvidia --rm nvidia/cuda:9.2-devel-centos7 bash -c 'echo $PATH | xargs -l -d : ls
ls: cannot access /usr/local/nvidia/bin: No such file or directory