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
*`containerRuntime` (array of string, OPTIONAL) indicates that this CDI specification targets only a specific container runtime.
149
-
If this field is indicated, the container runtime MUST use the one that matches its name if non exists it should use the one that does not indicate any `containerRuntime` value.
150
-
Possible values (not an exhaustive list): docker, podman, gvisor, lxc
151
-
152
146
#### CDI Devices
153
147
154
148
The `devices` field describes the set of hardware devices that can be requested by the container runtime user.
@@ -203,8 +197,6 @@ The `containerEdits` field has the following definition:
203
197
*`timeout` (int, OPTIONAL) is the number of seconds before aborting the hook. If set, timeout MUST be greater than zero. If not set container runtime will wait for the hook to return.
204
198
205
199
## Error Handling
206
-
* Two or more files with identical `kind` values and identical `containerRuntime` field.
207
-
Container runtimes should surface this error when any device with that `kind` is requested.
208
200
* Kind requested is not present in any CDI file.
209
201
Container runtimes should surface an error when a non existent kind is requested.
210
202
* Device (not device node) Requested does not exist.
0 commit comments