docker-plugin-ls man page

docker-plugin-ls — List plugins

Synopsis

docker plugin ls [Options]

Description

Lists all the plugins that are currently installed. You can install plugins using the docker plugin install command. You can also filter using the -f or --filter flag.

Filters

Filter output based on these conditions:
  - enabled=(true|false) - plugins that are enabled or not
  - capability=<string> - filters plugins based on capabilities (currently volumedriver, networkdriver, ipamdriver, or authz)

Format

Pretty-print plugins using a Go template.
  Valid placeholders:
     .ID - Plugin ID.
     .Name - Plugin Name.
     .Description - Plugin description.
     .Enabled - Whether plugin is enabled or not.

Examples

Display all plugins

$ docker plugin ls
ID                  NAME                                    DESCRIPTION                         ENABLED
869080b57404        tiborvass/sample-volume-plugin:latest   A sample volume plugin for Docker   true
141bf6c02ddd        vieux/sshfs:latest                      sshFS plugin for Docker             false

Display plugins with their ID and names

$ docker plugin ls --format "{{.ID}}: {{.Name}}"
869080b57404: tiborvass/sample-volume-plugin:latest

Display enabled plugins

$ docker plugin ls --filter enabled=true
ID                  NAME                                    DESCRIPTION                         ENABLED
869080b57404        tiborvass/sample-volume-plugin:latest   A sample volume plugin for Docker   true

Display plugins with volumedriver capability

$ docker plugin ls --filter capability=volumedriver --format "table {{.ID}}\t{{.Name}}"
ID                  Name
869080b57404        tiborvass/sample-volume-plugin:latest

Options

-f, --filter=

Provide filter values (e.g. 'enabled=true')

--format=""

Pretty-print plugins using a Go template

-h, --help[=false]

help for ls

--no-trunc[=false]

Don't truncate output

-q, --quiet[=false]

Only display plugin IDs

See Also

docker-plugin(1)

Referenced By

docker-plugin(1).

Aug 2018 Docker Community