Don't mount to many files
This commit is contained in:
parent
857b57bc39
commit
063b9973ae
6
jlmkr.py
6
jlmkr.py
|
@ -196,10 +196,8 @@ def start_jail(jail_name):
|
|||
if os.path.exists(file_path):
|
||||
nvidia_files.add(file_path)
|
||||
|
||||
# Add libnvidia-ml.so.1 (and possibly other nvidia files) which
|
||||
# are not listed by nvidia-container-cli, but required to run...
|
||||
nvidia_files.update(
|
||||
glob.glob('/usr/lib/x86_64-linux-gnu/*nvidia*'))
|
||||
# Add libnvidia-ml.so.1 which is not listed by nvidia-container-cli, but required to run...
|
||||
nvidia_files.add('/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1')
|
||||
|
||||
nvidia_mounts = []
|
||||
mounted_nvidia_smi_in_path = False
|
||||
|
|
Loading…
Reference in New Issue