mirror of
https://github.com/containers/podman.git
synced 2025-12-04 04:09:40 +08:00
Merge pull request #21180 from rhatdan/nvidia
Make --gpus work with nvidia gpus
This commit is contained in:
@@ -119,12 +119,6 @@ var _ = Describe("Podman run device", func() {
|
||||
Expect(session).Should(ExitCleanly())
|
||||
})
|
||||
|
||||
It("podman run --gpus noop", func() {
|
||||
session := podmanTest.Podman([]string{"run", "--gpus", "all", ALPINE, "true"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(ExitCleanly())
|
||||
})
|
||||
|
||||
It("podman run cannot access non default devices", func() {
|
||||
session := podmanTest.Podman([]string{"run", "-v /dev:/dev-host", ALPINE, "head", "-1", "/dev-host/kmsg"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
|
||||
Reference in New Issue
Block a user