LD_LIBRARY_PATH may be incorrect in Docker
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 311
- Forks
- 139
- Avg merge
- 1h 28m
- Merged PRs (30d)
- 1
Description
Docker has env. variable LD_LIBRARY_PATH set but the path doesn't exist
tf-docker /tf/tensorflow > echo $LD_LIBRARY_PATH
/usr/local/nvidia/lib:/usr/local/nvidia/lib64
tf-docker /tf/tensorflow > ls /usr/local/
bin/ cuda-11.1/ etc/ include/ libexec/ sbin/ src/
cuda/ cuda-11.2/ games/ lib/ man/ share/
But this directory doesn't exist in the Docker Image. It doesn't cause any issue, but would be nice to fix it.
From what I read, "nvidia" -> "cuda" is the right path and it exists in the Docker
/usr/local/cuda/lib64 seems to have the right .so files.
Reference issues:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect how LD_LIBRARY_PATH is set in the Docker image and compare the configured /usr/local/nvidia/lib and /usr/local/nvidia/lib64 paths with the existing /usr/local/cuda/lib64 directory. Reproduce the environment with tf-docker, update the path if appropriate, and verify that the configured directories exist.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100