Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit dac7a0f

Browse files
committed
docs: fix example output for docker plugin ls
The output format was changed to combine tag and name in a single column, but this change was never reflected in the docs. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit c253918eaf2151f33cbf670488c82842ba3264c2) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: ac7723056a70e05c11f0b5485a4d0c0151f97b16 Component: cli
1 parent 8c8b82e commit dac7a0f

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

components/cli/docs/reference/commandline/plugin_create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ plugin
3838

3939
$ docker plugin ls
4040

41-
ID NAME TAG DESCRIPTION ENABLED
42-
672d8144ec02 plugin latest A sample plugin for Docker false
41+
ID NAME DESCRIPTION ENABLED
42+
672d8144ec02 plugin:latest A sample plugin for Docker false
4343
```
4444

4545
The plugin can subsequently be enabled for local use or pushed to the public registry.

components/cli/docs/reference/commandline/plugin_disable.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ and enabled:
3030
```bash
3131
$ docker plugin ls
3232

33-
ID NAME TAG DESCRIPTION ENABLED
34-
69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker true
33+
ID NAME DESCRIPTION ENABLED
34+
69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker true
3535
```
3636

3737
To disable the plugin, use the following command:
@@ -43,8 +43,8 @@ tiborvass/sample-volume-plugin
4343

4444
$ docker plugin ls
4545

46-
ID NAME TAG DESCRIPTION ENABLED
47-
69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker false
46+
ID NAME DESCRIPTION ENABLED
47+
69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker false
4848
```
4949

5050
## Related commands

components/cli/docs/reference/commandline/plugin_enable.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ but disabled:
2929
```bash
3030
$ docker plugin ls
3131

32-
ID NAME TAG DESCRIPTION ENABLED
33-
69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker false
32+
ID NAME DESCRIPTION ENABLED
33+
69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker false
3434
```
3535

3636
To enable the plugin, use the following command:
@@ -42,8 +42,8 @@ tiborvass/sample-volume-plugin
4242

4343
$ docker plugin ls
4444

45-
ID NAME TAG DESCRIPTION ENABLED
46-
69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker true
45+
ID NAME DESCRIPTION ENABLED
46+
69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker true
4747
```
4848

4949
## Related commands

components/cli/docs/reference/commandline/plugin_install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ After the plugin is installed, it appears in the list of plugins:
4949
```bash
5050
$ docker plugin ls
5151

52-
ID NAME TAG DESCRIPTION ENABLED
53-
69553ca1d123 vieux/sshfs latest sshFS plugin for Docker true
52+
ID NAME DESCRIPTION ENABLED
53+
69553ca1d123 vieux/sshfs:latest sshFS plugin for Docker true
5454
```
5555

5656
## Related commands

components/cli/docs/reference/commandline/plugin_ls.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Refer to the [filtering](#filtering) section for more information about availabl
3434
```bash
3535
$ docker plugin ls
3636

37-
ID NAME TAG DESCRIPTION ENABLED
38-
69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker true
37+
ID NAME DESCRIPTION ENABLED
38+
69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker true
3939
```
4040

4141
### Filtering
@@ -65,7 +65,7 @@ Installed plugin vieux/sshfs
6565

6666
$ docker plugin ls --filter enabled=true
6767

68-
NAME TAG DESCRIPTION ENABLED
68+
ID NAME DESCRIPTION ENABLED
6969
```
7070

7171
### Formatting
@@ -78,7 +78,7 @@ Valid placeholders for the Go template are listed below:
7878
Placeholder | Description
7979
-------------------|------------------------------------------------------------
8080
`.ID` | Plugin ID
81-
`.Name` | Plugin name
81+
`.Name` | Plugin name and tag
8282
`.Description` | Plugin description
8383
`.Enabled` | Whether plugin is enabled or not
8484
`.PluginReference` | The reference used to push/pull from a registry

components/cli/docs/reference/commandline/plugin_push.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ The following example shows how to push a sample `user/plugin`.
2929
```bash
3030
$ docker plugin ls
3131

32-
ID NAME TAG DESCRIPTION ENABLED
33-
69553ca1d456 user/plugin latest A sample plugin for Docker false
32+
ID NAME DESCRIPTION ENABLED
33+
69553ca1d456 user/plugin:latest A sample plugin for Docker false
3434

3535
$ docker plugin push user/plugin
3636
```

0 commit comments

Comments
 (0)