2016-10-14 18:30:36 -04:00
|
|
|
---
|
|
|
|
title: "plugin ls"
|
|
|
|
description: "The plugin ls command description and usage"
|
2016-11-03 18:48:30 -04:00
|
|
|
keywords: "plugin, list"
|
2016-10-14 18:30:36 -04:00
|
|
|
---
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-10-19 13:25:45 -04:00
|
|
|
<!-- This file is maintained within the docker/docker Github
|
|
|
|
repository at https://github.com/docker/docker/. Make all
|
|
|
|
pull requests against that repo. If you see this file in
|
|
|
|
another repository, consider it read-only there, as it will
|
|
|
|
periodically be overwritten by the definitive file. Pull
|
|
|
|
requests which include edits to this file in other repositories
|
|
|
|
will be rejected.
|
|
|
|
-->
|
|
|
|
|
2016-11-09 20:49:09 -05:00
|
|
|
# plugin ls
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
```markdown
|
2016-08-31 02:18:41 -04:00
|
|
|
Usage: docker plugin ls [OPTIONS]
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
List plugins
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Aliases:
|
|
|
|
ls, list
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Options:
|
2016-11-22 19:23:21 -05:00
|
|
|
--format string Pretty-print plugins using a Go template
|
|
|
|
--help Print usage
|
|
|
|
--no-trunc Don't truncate output
|
|
|
|
-q, --quiet Only display plugin IDs
|
2016-07-07 14:43:18 -04:00
|
|
|
```
|
2016-06-09 17:57:15 -04:00
|
|
|
|
|
|
|
Lists all the plugins that are currently installed. You can install plugins
|
|
|
|
using the [`docker plugin install`](plugin_install.md) command.
|
|
|
|
|
|
|
|
Example output:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ docker plugin ls
|
2016-07-20 17:37:55 -04:00
|
|
|
|
2016-12-14 03:35:34 -05:00
|
|
|
ID NAME TAG DESCRIPTION ENABLED
|
|
|
|
69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker true
|
2016-06-09 17:57:15 -04:00
|
|
|
```
|
|
|
|
|
2016-11-22 19:23:21 -05:00
|
|
|
## Formatting
|
|
|
|
|
|
|
|
The formatting options (`--format`) pretty-prints plugins output
|
|
|
|
using a Go template.
|
|
|
|
|
|
|
|
Valid placeholders for the Go template are listed below:
|
|
|
|
|
|
|
|
Placeholder | Description
|
|
|
|
---------------|------------------------------------------------------------------------------------------
|
|
|
|
`.ID` | Plugin ID
|
|
|
|
`.Name` | Plugin name
|
|
|
|
`.Description` | Plugin description
|
|
|
|
`.Enabled` | Whether plugin is enabled or not
|
|
|
|
|
|
|
|
When using the `--format` option, the `plugin ls` command will either
|
|
|
|
output the data exactly as the template declares or, when using the
|
|
|
|
`table` directive, includes column headers as well.
|
|
|
|
|
|
|
|
The following example uses a template without headers and outputs the
|
|
|
|
`ID` and `Name` entries separated by a colon for all plugins:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ docker plugin ls --format "{{.ID}}: {{.Name}}"
|
|
|
|
4be01827a72e: tiborvass/no-remove
|
|
|
|
```
|
|
|
|
|
2016-06-09 17:57:15 -04:00
|
|
|
## Related information
|
|
|
|
|
2016-10-04 15:01:19 -04:00
|
|
|
* [plugin create](plugin_create.md)
|
2016-06-09 17:57:15 -04:00
|
|
|
* [plugin disable](plugin_disable.md)
|
2016-11-14 11:38:06 -05:00
|
|
|
* [plugin enable](plugin_enable.md)
|
2016-06-09 17:57:15 -04:00
|
|
|
* [plugin inspect](plugin_inspect.md)
|
|
|
|
* [plugin install](plugin_install.md)
|
2016-11-14 11:38:06 -05:00
|
|
|
* [plugin push](plugin_push.md)
|
2016-06-09 17:57:15 -04:00
|
|
|
* [plugin rm](plugin_rm.md)
|
2016-10-31 20:07:05 -04:00
|
|
|
* [plugin set](plugin_set.md)
|