mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-03-12 07:03:01 +00:00
Merge branch 'update-error-message' into 'main'
Make error message clearer See merge request nvidia/container-toolkit/container-toolkit!194
This commit is contained in:
commit
648cfaba51
@ -75,7 +75,7 @@ func doPrestart() {
|
||||
cli := hook.NvidiaContainerCLI
|
||||
|
||||
if info.ResolveAutoMode(&logInterceptor{}, hook.NVIDIAContainerRuntime.Mode) != "legacy" {
|
||||
log.Panicln("invoking the NVIDIA Container Runtime Hook directly (e.g. specifying the docker --gpus flag) is not supported. Please use the NVIDIA Container Runtime instead.")
|
||||
log.Panicln("invoking the NVIDIA Container Runtime Hook directly (e.g. specifying the docker --gpus flag) is not supported. Please use the NVIDIA Container Runtime (e.g. specify the --runtime=nvidia flag) instead.")
|
||||
}
|
||||
|
||||
container := getContainerConfig(hook)
|
||||
|
Loading…
Reference in New Issue
Block a user