github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/man/src/plugin/ls.md (about)

     1  Lists all the plugins that are currently installed. You can install plugins
     2  using the `docker plugin install` command.
     3  You can also filter using the `-f` or `--filter` flag.
     4  
     5  ## Filters
     6  
     7  Filter output based on these conditions:
     8     - enabled=(true|false) - plugins that are enabled or not
     9     - capability=<string> - filters plugins based on capabilities (currently `volumedriver`, `networkdriver`, `ipamdriver`, or `authz`)
    10  
    11  ## Format
    12  
    13     Pretty-print plugins using a Go template.
    14     Valid placeholders:
    15        .ID - Plugin ID.
    16        .Name - Plugin Name.
    17        .Description - Plugin description.
    18        .Enabled - Whether plugin is enabled or not.
    19  
    20  # EXAMPLES
    21  ## Display all plugins
    22  
    23      $ docker plugin ls
    24      ID                  NAME                                    DESCRIPTION                         ENABLED
    25      869080b57404        tiborvass/sample-volume-plugin:latest   A sample volume plugin for Docker   true
    26      141bf6c02ddd        vieux/sshfs:latest                      sshFS plugin for Docker             false
    27  
    28  ## Display plugins with their ID and names
    29  
    30      $ docker plugin ls --format "{{.ID}}: {{.Name}}"
    31      869080b57404: tiborvass/sample-volume-plugin:latest
    32  
    33  ## Display enabled plugins
    34  
    35      $ docker plugin ls --filter enabled=true
    36      ID                  NAME                                    DESCRIPTION                         ENABLED
    37      869080b57404        tiborvass/sample-volume-plugin:latest   A sample volume plugin for Docker   true
    38  
    39  ## Display plugins with `volumedriver` capability
    40  
    41      $ docker plugin ls --filter capability=volumedriver --format "table {{.ID}}\t{{.Name}}"
    42      ID                  Name
    43      869080b57404        tiborvass/sample-volume-plugin:latest