Running podman inside a docker container with gpu support #23092
ersguteralbaner
started this conversation in
General
Replies: 3 comments
-
how was the outer container created? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I build a Dockerfile and created an image. Its nothing specific iam trying to get podman running with gpu support in a Docker container.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Description
Hello,
Iam trying to run podman inside a docker container with gpu support. But when I do so I get
Failed to initialize NVML: N/A
Steps to reproduce the issue
Steps to reproduce the issue
1.Run
podman run --rm --device nvidia.com/gpu=all ubuntu nvidia-smi -L
output isGPU 0: NVIDIA GeForce RTX 4090 (UUID: GPU-98bad0a9-7e4f-c1ef-59e3-8ae46447a327)
2. Run
docker exec podmantest podman run --rm --device nvidia.com/gpu=all ubuntu nvidia-smi -L
output isFailed to initialize NVML: N/A
Describe the results you received
Failed to initialize NVML: N/A
Describe the results you expected
I expect to see Nvidia GPU support.
GPU 0: NVIDIA GeForce RTX 4090 (UUID: GPU-98bad0a9-7e4f-c1ef-59e3-8ae46447a327)
podman info output
Podman in a container
Yes
Privileged Or Rootless
None
Upstream Latest Release
Yes
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
Beta Was this translation helpful? Give feedback.
All reactions