-
Notifications
You must be signed in to change notification settings - Fork 213
Expand file tree
/
Copy pathnvidia-persistenced.yaml
More file actions
61 lines (61 loc) · 1.3 KB
/
nvidia-persistenced.yaml
File metadata and controls
61 lines (61 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# https://download.nvidia.com/XFree86/Linux-x86_64/515.65.01/README/nvidia-persistenced.html
name: nvidia-persistenced
container:
entrypoint: /usr/local/bin/nvidia-persistenced-wrapper
mounts:
# device files
- source: /dev
destination: /dev
type: bind
options:
- rshared
- rbind
- rw
# shared libraries
- source: /lib64
destination: /lib64
type: bind
options:
- bind
- ro
# shared libraries
- source: /lib
destination: /lib
type: bind
options:
- bind
- ro
# shared libraries
- source: /usr/local/glibc
destination: /usr/local/glibc
type: bind
options:
- bind
- ro
# nvidia libraries
- source: /usr/local/lib
destination: /usr/local/lib
type: bind
options:
- bind
- ro
# service state file
- source: /run
destination: /var/run
type: bind
options:
- rshared
- rbind
- rw
# binaries
- source: /usr/local/bin
destination: /usr/local/bin
type: bind
options:
- bind
- ro
depends:
# we need to depend on udevd so that the nvidia device files are created
- service: udevd
- path: /sys/bus/pci/drivers/nvidia
restart: always