Unable to run NVIDIA containers #20257
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
I installed Podman on Ubuntu 22.04 from the official sources. In addition, I installed the NVIDIA Container Toolkit as described here and generated a CDI spec as described here. Running
nvidia-ctk cdi list
properly gives the following output:However, when trying to run
I'm getting the following error.
The above NVIDIA docs mention that the
--device
argument is only available from Podman 4.1.0, while I'm on 3.4.4, so maybe that's an issue? If yes, what is the correct way of running GPU-dependent containers with my Podman version?Steps to reproduce the issue
See above.
Describe the results you received
Error: stat nvidia.com/gpu=0: no such file or directory
Describe the results you expected
Actual nvidia-smi output.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: