1
0
mirror of https://github.com/docker/cli.git synced 2026-01-19 21:41:31 +03:00

plugins: rename DeviceCreation to AllowAllDevices

Signed-off-by: Tibor Vass <tibor@docker.com>
Upstream-commit: 8c3f18ca6d
Component: cli
This commit is contained in:
Tibor Vass
2017-01-10 11:00:57 -08:00
parent d44562c7fe
commit ad57980f55

View File

@@ -153,6 +153,10 @@ Config provides the base accessible fields for working with V0 plugin format
capabilities of the plugin (*Linux only*), see list [`here`](https://github.com/opencontainers/runc/blob/master/libcontainer/SPEC.md#security)
- **`allowAllDevices`** *boolean*
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.
- **`devices`** *PluginDevice array*
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)
@@ -205,7 +209,7 @@ Config provides the base accessible fields for working with V0 plugin format
},
"Linux": {
"Capabilities": null,
"DeviceCreation": false,
"AllowAllDevices": false,
"Devices": null
},
"Mounts": null,