You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Device requests" are how GPUs are invoked from the Docker API. However, device requests are not being respected by Podman when creating a container over the Podman socket.
Steps to reproduce the issue
Here is a Python script which tests the Docker and Podman socket APIs.
Setup: install Python version 3.10+ and run pip install docker==7.0.0
Any chance you can get us the JSON being sent by the container create request (the first podman_client.containers.run)? I don't have an nvidia card and as such can't use CDI to try and reproduce.
Podman implements the Docker API in an attempt to be compatible with Docker. This issue is about the DeviceRequests field of Docker's API, which is different from CDI (container device interface).
Issue Description
"Device requests" are how GPUs are invoked from the Docker API. However, device requests are not being respected by Podman when creating a container over the Podman socket.
Steps to reproduce the issue
Here is a Python script which tests the Docker and Podman socket APIs.
Setup: install Python version 3.10+ and run
pip install docker==7.0.0
Run these tests:
Describe the results you received
.HostConfig.DeviceRequests
Describe the results you expected
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional information
No response
The text was updated successfully, but these errors were encountered: