docs: update reference docs for plugins

the output/response slightly changed in
340964db1c8f161a2ad156023eb47dcc93bf804b,
and `:latest` is no longer required for
various actions.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2016-07-20 23:37:55 +02:00
committed by Tibor Vass
parent 1f0b0b007c
commit 338cf2edd8
6 changed files with 137 additions and 109 deletions

View File

@ -24,26 +24,31 @@ Enables a plugin. The plugin must be installed before it can be enabled,
see [`docker plugin install`](plugin_install.md).
The following example shows that the `no-remove` plugin is currently installed,
The following example shows that the `no-remove` plugin is installed,
but disabled ("inactive"):
```bash
$ docker plugin ls
NAME VERSION ACTIVE
tiborvass/no-remove latest false
NAME VERSION ACTIVE
tiborvass/no-remove latest false
```
To enable the plugin, use the following command:
```bash
$ docker plugin enable tiborvass/no-remove:latest
$ docker plugin enable tiborvass/no-remove
tiborvass/no-remove
```
After the plugin is enabled, it appears as "active" in the list of plugins:
```bash
$ docker plugin ls
NAME VERSION ACTIVE
tiborvass/no-remove latest true
NAME VERSION ACTIVE
tiborvass/no-remove latest true
```
## Related information