nsenter approach failed (requires SYS_ADMIN in container). nvidia-smi bind-mount failed (Alpine vs Ubuntu glibc incompatibility). Working solution: spawn 'docker run --rm --gpus all ubuntu:22.04 nvidia-smi' via the Docker socket. The NVIDIA Container Runtime injects nvidia-smi and driver libs into any container with --gpus all, regardless of the base image. ubuntu:22.04 is already cached on GPU nodes. Result: GPU reported with name, memory_mb, driver_version — shows as BOUND in the cluster UI. |
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| index.js | ||
| package.json | ||