1
0
mirror of https://github.com/docker/cli.git synced 2026-01-06 05:41:44 +03:00

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 @@ Disables a plugin. The plugin must be installed before it can be disabled,
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
and active:
```bash
$ docker plugin ls
NAME TAG ACTIVE
tiborvass/no-remove latest true
NAME TAG ACTIVE
tiborvass/no-remove latest true
```
To disable the plugin, use the following command:
```bash
$ docker plugin disable tiborvass/no-remove:latest
$ docker plugin disable tiborvass/no-remove
tiborvass/no-remove
```
After the plugin is disabled, it appears as "inactive" in the list of plugins:
```bash
$ docker plugin ls
NAME VERSION ACTIVE
tiborvass/no-remove latest false
NAME VERSION ACTIVE
tiborvass/no-remove latest false
```
## Related information