mirror of https://github.com/docker/cli.git
update plugin example
Signed-off-by: Victor Vieux <victorvieux@gmail.com> cleanup whitespace formatting Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
9fa1e6637b
commit
b82e761088
|
@ -169,7 +169,7 @@ Config provides the base accessible fields for working with V0 plugin format
|
||||||
|
|
||||||
*Example showing the 'tiborvass/no-remove' plugin config.*
|
*Example showing the 'tiborvass/no-remove' plugin config.*
|
||||||
|
|
||||||
```
|
```json
|
||||||
{
|
{
|
||||||
"description": "A test plugin for Docker",
|
"description": "A test plugin for Docker",
|
||||||
"documentation": "https://docs.docker.com/engine/extend/plugins/",
|
"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": {
|
"network": {
|
||||||
"type": "host"
|
"type": "host"
|
||||||
},
|
},
|
||||||
|
|
||||||
"mounts": [
|
"mounts": [
|
||||||
{
|
{
|
||||||
"source": "/data",
|
"source": "/data",
|
||||||
|
@ -194,13 +193,11 @@ Config provides the base accessible fields for working with V0 plugin format
|
||||||
"type": "tmpfs"
|
"type": "tmpfs"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
"args": {
|
"args": {
|
||||||
"name": "args",
|
"name": "args",
|
||||||
"description": "command line arguments",
|
"description": "command line arguments",
|
||||||
"value": []
|
"value": []
|
||||||
},
|
},
|
||||||
|
|
||||||
"env": [
|
"env": [
|
||||||
{
|
{
|
||||||
"name": "DEBUG",
|
"name": "DEBUG",
|
||||||
|
@ -208,7 +205,7 @@ Config provides the base accessible fields for working with V0 plugin format
|
||||||
"value": "1"
|
"value": "1"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"linux": {
|
||||||
"devices": [
|
"devices": [
|
||||||
{
|
{
|
||||||
"name": "device",
|
"name": "device",
|
||||||
|
@ -217,5 +214,5 @@ Config provides the base accessible fields for working with V0 plugin format
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue