github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/docs/reference/commandline/plugin_disable.md (about)

     1  ---
     2  title: "plugin disable"
     3  description: "the plugin disable command description and usage"
     4  keywords: "plugin, disable"
     5  ---
     6  
     7  <!-- This file is maintained within the docker/docker Github
     8       repository at https://github.com/docker/docker/. Make all
     9       pull requests against that repo. If you see this file in
    10       another repository, consider it read-only there, as it will
    11       periodically be overwritten by the definitive file. Pull
    12       requests which include edits to this file in other repositories
    13       will be rejected.
    14  -->
    15  
    16  # plugin disable
    17  
    18  ```markdown
    19  Usage:  docker plugin disable PLUGIN
    20  
    21  Disable a plugin
    22  
    23  Options:
    24        --help   Print usage
    25  ```
    26  
    27  Disables a plugin. The plugin must be installed before it can be disabled,
    28  see [`docker plugin install`](plugin_install.md).
    29  
    30  
    31  The following example shows that the `no-remove` plugin is installed
    32  and enabled:
    33  
    34  ```bash
    35  $ docker plugin ls
    36  
    37  NAME                  TAG                 DESCRIPTION                ENABLED
    38  tiborvass/no-remove   latest              A test plugin for Docker   true
    39  ```
    40  
    41  To disable the plugin, use the following command:
    42  
    43  ```bash
    44  $ docker plugin disable tiborvass/no-remove
    45  
    46  tiborvass/no-remove
    47  
    48  $ docker plugin ls
    49  
    50  NAME                  TAG                 DESCRIPTION                ENABLED
    51  tiborvass/no-remove   latest              A test plugin for Docker   false
    52  ```
    53  
    54  ## Related information
    55  
    56  * [plugin create](plugin_create.md)
    57  * [plugin enable](plugin_enable.md)
    58  * [plugin inspect](plugin_inspect.md)
    59  * [plugin install](plugin_install.md)
    60  * [plugin ls](plugin_ls.md)
    61  * [plugin push](plugin_push.md)
    62  * [plugin rm](plugin_rm.md)
    63  * [plugin set](plugin_set.md)