|
...
|
...
|
@@ -164,27 +164,27 @@ Config provides the base accessible fields for working with V0 plugin format
|
|
164
|
164
|
|
|
165
|
165
|
- **`capabilities`** *string array*
|
|
166
|
166
|
|
|
167
|
|
- capabilities of the plugin (*Linux only*), see list [`here`](https://github.com/opencontainers/runc/blob/master/libcontainer/SPEC.md#security)
|
|
|
167
|
+ capabilities of the plugin (*Linux only*), see list [`here`](https://github.com/opencontainers/runc/blob/master/libcontainer/SPEC.md#security)
|
|
168
|
168
|
|
|
169
|
169
|
- **`allowAllDevices`** *boolean*
|
|
170
|
170
|
|
|
171
|
|
- If `/dev` is bind mounted from the host, and allowAllDevices is set to true, the plugin will have `rwm` access to all devices on the host.
|
|
|
171
|
+ If `/dev` is bind mounted from the host, and allowAllDevices is set to true, the plugin will have `rwm` access to all devices on the host.
|
|
172
|
172
|
|
|
173
|
173
|
- **`devices`** *PluginDevice array*
|
|
174
|
174
|
|
|
175
|
|
- device of the plugin, (*Linux only*), struct consisting of the following fields, see [`DEVICES`](https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#devices)
|
|
|
175
|
+ device of the plugin, (*Linux only*), struct consisting of the following fields, see [`DEVICES`](https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#devices)
|
|
176
|
176
|
|
|
177
|
|
- - **`name`** *string*
|
|
|
177
|
+ - **`name`** *string*
|
|
178
|
178
|
|
|
179
|
|
- name of the device.
|
|
|
179
|
+ name of the device.
|
|
180
|
180
|
|
|
181
|
|
- - **`description`** *string*
|
|
|
181
|
+ - **`description`** *string*
|
|
182
|
182
|
|
|
183
|
|
- description of the device.
|
|
|
183
|
+ description of the device.
|
|
184
|
184
|
|
|
185
|
|
- - **`path`** *string*
|
|
|
185
|
+ - **`path`** *string*
|
|
186
|
186
|
|
|
187
|
|
- path of the device.
|
|
|
187
|
+ path of the device.
|
|
188
|
188
|
|
|
189
|
189
|
## Example Config
|
|
190
|
190
|
|