maintenance(titan-24): configure Docker NVIDIA runtime
This commit is contained in:
parent
e0707b68c6
commit
9f61cff34e
@ -34,8 +34,12 @@ configure_docker() {
|
||||
}
|
||||
JSON
|
||||
fi
|
||||
if [ -x /host/usr/bin/nvidia-ctk ]; then
|
||||
host_sh "nvidia-ctk runtime configure --runtime=docker"
|
||||
fi
|
||||
host_systemctl daemon-reload
|
||||
host_systemctl enable --now docker
|
||||
host_systemctl restart docker
|
||||
}
|
||||
|
||||
if [ ! -x /host/usr/bin/docker ] || ! host_sh "docker version >/dev/null 2>&1"; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user