mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 21:39:10 +00:00
Specify --force flag when invoking nvidia-container-runtime-hook
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
a9a4704273
commit
dab6f4b768
@ -60,7 +60,7 @@ func (d legacy) Hooks() ([]Hook, error) {
|
|||||||
}
|
}
|
||||||
d.logger.Debugf("Using NVIDIA Container Runtime Hook path %v", hookPath)
|
d.logger.Debugf("Using NVIDIA Container Runtime Hook path %v", hookPath)
|
||||||
|
|
||||||
args := []string{hookPath, "prestart"}
|
args := []string{hookPath, "--force", "prestart"}
|
||||||
h := Hook{
|
h := Hook{
|
||||||
Lifecycle: cdi.PrestartHook,
|
Lifecycle: cdi.PrestartHook,
|
||||||
Path: hookPath,
|
Path: hookPath,
|
||||||
|
Loading…
Reference in New Issue
Block a user