mirror of https://github.com/docker/cli.git
replace active by enabled for consistency in plugins
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
4594e5d50e
commit
cfa7f94c02
|
@ -25,12 +25,12 @@ see [`docker plugin install`](plugin_install.md).
|
|||
|
||||
|
||||
The following example shows that the `no-remove` plugin is installed
|
||||
and active:
|
||||
and enabled:
|
||||
|
||||
```bash
|
||||
$ docker plugin ls
|
||||
|
||||
NAME TAG DESCRIPTION ACTIVE
|
||||
NAME TAG DESCRIPTION ENABLED
|
||||
tiborvass/no-remove latest A test plugin for Docker true
|
||||
```
|
||||
|
||||
|
@ -40,14 +40,10 @@ To disable the plugin, use the following command:
|
|||
$ 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 TAG DESCRIPTION ACTIVE
|
||||
NAME TAG DESCRIPTION ENABLED
|
||||
tiborvass/no-remove latest A test plugin for Docker false
|
||||
```
|
||||
|
||||
|
|
|
@ -25,12 +25,12 @@ see [`docker plugin install`](plugin_install.md).
|
|||
|
||||
|
||||
The following example shows that the `no-remove` plugin is installed,
|
||||
but disabled ("inactive"):
|
||||
but disabled:
|
||||
|
||||
```bash
|
||||
$ docker plugin ls
|
||||
|
||||
NAME TAG DESCRIPTION ACTIVE
|
||||
NAME TAG DESCRIPTION ENABLED
|
||||
tiborvass/no-remove latest A test plugin for Docker false
|
||||
```
|
||||
|
||||
|
@ -40,14 +40,10 @@ To enable the plugin, use the following command:
|
|||
$ 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 TAG DESCRIPTION ACTIVE
|
||||
NAME TAG DESCRIPTION ENABLED
|
||||
tiborvass/no-remove latest A test plugin for Docker true
|
||||
```
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ $ docker plugin inspect tiborvass/no-remove:latest
|
|||
"Id": "8c74c978c434745c3ade82f1bc0acf38d04990eaf494fa507c16d9f1daa99c21",
|
||||
"Name": "tiborvass/no-remove",
|
||||
"Tag": "latest",
|
||||
"Active": true,
|
||||
"Enabled": true,
|
||||
"Config": {
|
||||
"Mounts": [
|
||||
{
|
||||
|
|
|
@ -47,7 +47,7 @@ After the plugin is installed, it appears in the list of plugins:
|
|||
```bash
|
||||
$ docker plugin ls
|
||||
|
||||
NAME TAG DESCRIPTION ACTIVE
|
||||
NAME TAG DESCRIPTION ENABLED
|
||||
tiborvass/no-remove latest A test plugin for Docker true
|
||||
```
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ Example output:
|
|||
```bash
|
||||
$ docker plugin ls
|
||||
|
||||
NAME TAG DESCRIPTION ACTIVE
|
||||
NAME TAG DESCRIPTION ENABLED
|
||||
tiborvass/no-remove latest A test plugin for Docker true
|
||||
```
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ Options:
|
|||
--help Print usage
|
||||
```
|
||||
|
||||
Removes a plugin. You cannot remove a plugin if it is active, you must disable
|
||||
Removes a plugin. You cannot remove a plugin if it is enabled, you must disable
|
||||
a plugin using the [`docker plugin disable`](plugin_disable.md) before removing
|
||||
it (or use --force, use of force is not recommended, since it can affect
|
||||
functioning of running containers using the plugin).
|
||||
|
|
Loading…
Reference in New Issue