mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
swagger: add DeviceRequests to container create, inspect example
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
89876e8165
commit
d4d62b658d
1 changed files with 16 additions and 0 deletions
|
@ -5332,6 +5332,14 @@ paths:
|
|||
- {}
|
||||
BlkioDeviceWriteIOps:
|
||||
- {}
|
||||
DeviceRequests:
|
||||
- Driver: "nvidia"
|
||||
Count: -1
|
||||
DeviceIDs": ["0", "1", "GPU-fef8089b-4820-abfc-e83e-94318197576e"]
|
||||
Capabilities: [["gpu", "nvidia", "compute"]]
|
||||
Options:
|
||||
property1: "string"
|
||||
property2: "string"
|
||||
MemorySwappiness: 60
|
||||
OomKillDisable: false
|
||||
OomScoreAdj: 500
|
||||
|
@ -5582,6 +5590,14 @@ paths:
|
|||
CpuRealtimePeriod: 1000000
|
||||
CpuRealtimeRuntime: 10000
|
||||
Devices: []
|
||||
DeviceRequests:
|
||||
- Driver: "nvidia"
|
||||
Count: -1
|
||||
DeviceIDs": ["0", "1", "GPU-fef8089b-4820-abfc-e83e-94318197576e"]
|
||||
Capabilities: [["gpu", "nvidia", "compute"]]
|
||||
Options:
|
||||
property1: "string"
|
||||
property2: "string"
|
||||
IpcMode: ""
|
||||
LxcConf: []
|
||||
Memory: 0
|
||||
|
|
Loading…
Add table
Reference in a new issue