mirror of https://github.com/containers/podman.git
Merge pull request #17114 from rhatdan/devices
Allow --device-cgroup-rule to be passed in by docker API
This commit is contained in:
commit
45bb8dbdf7
|
@ -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