mirror of https://github.com/containers/podman.git
Allow --device-cgroup-rule to be passed in by docker API
This looks like the correct fix, but I have no idea how to test. Fixes: https://github.com/containers/podman/issues/17106 [NO NEW TESTS NEEDED] Will have reporter verify if this fixes the problem. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
e1828873e7
commit
8850db961d
|
|
@ -392,7 +392,7 @@ func cliOpts(cc handlers.CreateContainerConfig, rtc *config.Config) (*entities.C
|
|||
// Detach: false, // don't need
|
||||
// DetachKeys: "", // don't need
|
||||
Devices: devices,
|
||||
DeviceCgroupRule: nil,
|
||||
DeviceCgroupRule: cc.HostConfig.DeviceCgroupRules,
|
||||
DeviceReadBPs: readBps,
|
||||
DeviceReadIOPs: readIops,
|
||||
DeviceWriteBPs: writeBps,
|
||||
|
|
|
|||
Loading…
Reference in New Issue