Hi everyone.
Forgive my confusion, but I'm a bit at a loss. Trying to get gpu to work inside dagger...
TL;DR: runc run failed: unable to start container process: error during container init: error running prestart hook #0: fork/exec /usr/bin/nvidia-container-runtime-hook: no such file or directory
Where is /usr/bin/nvidia-container-runtime-hook expected? Is it:
- In the dagger-engine container? Because if yes, it's not in the registry.dagger.io/engine:v0.20.8-gpu image
- Supposed to be passed to the engine by my system podman?
- In my target SDK image?
I'm not pretending to know everything but 3 seems unlikely as the hook is supposed to be running before my target container start.
I've confirmed the gpu is correctly passed to my containers thanks to nvidia-ctk cdi generate -output /etc/cdi/nvidia.yaml
Here is how I've created the engine: podman run --gpus all -v /var/lib/dagger -d --privileged -e _EXPERIMENTAL_DAGGER_GPU_SUPPORT=true --name dagger-engine-v0.20.8 registry.dagger.io/engine:v0.20.8-gpu -- --debug
Thanks for the potential help