blob: 7b0fccfe9cb3eba15f30d499ec44dda029f857cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
post_install() {
cat << EOF
=> Prior to running 'CUDA'-containers, ensure that the nvidia-docker-plugin
is loaded. -> https://github.com/NVIDIA/nvidia-docker#other-distributions
*) manually; sudo -b nohup nvidia-docker-plugin > /tmp/nvidia-docker.log
*) automatically at startup; systemctl enable nvidia-docker.service
EOF
}
post_upgrade() {
post_install
}
post_remove() {
cat << EOF
=> Don't forget to disable/stop a potentially running nvidia-docker.service
EOF
}
|