1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

update plugin example

Signed-off-by: Victor Vieux <victorvieux@gmail.com>

cleanup whitespace formatting

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit d73f73b365)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
Victor Vieux 2016-11-23 15:22:02 -08:00
parent 936499e1ff
commit 97b0fd9fe3

View file

@ -169,7 +169,7 @@ Config provides the base accessible fields for working with V0 plugin format
*Example showing the 'tiborvass/no-remove' plugin config.*
```
```json
{
"description": "A test plugin for Docker",
"documentation": "https://docs.docker.com/engine/extend/plugins/",
@ -181,7 +181,6 @@ Config provides the base accessible fields for working with V0 plugin format
"network": {
"type": "host"
},
"mounts": [
{
"source": "/data",
@ -194,13 +193,11 @@ Config provides the base accessible fields for working with V0 plugin format
"type": "tmpfs"
}
],
"args": {
"name": "args",
"description": "command line arguments",
"value": []
},
"env": [
{
"name": "DEBUG",
@ -208,7 +205,7 @@ Config provides the base accessible fields for working with V0 plugin format
"value": "1"
}
],
"linux": {
"devices": [
{
"name": "device",
@ -217,5 +214,5 @@ Config provides the base accessible fields for working with V0 plugin format
}
]
}
}
```