Skip to content

Commit

Permalink
Merge pull request #2609 from thaJeztah/19.03_backport_docs_fixes
Browse files Browse the repository at this point in the history
[19.03 backport] assorted docs fixes
  • Loading branch information
silvin-lubecki authored Jun 30, 2020
2 parents 541f050 + ac77230 commit cb59caf
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions docs/reference/commandline/plugin_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ plugin

$ docker plugin ls

ID NAME TAG DESCRIPTION ENABLED
672d8144ec02 plugin latest A sample plugin for Docker false
ID NAME DESCRIPTION ENABLED
672d8144ec02 plugin:latest A sample plugin for Docker false
```

The plugin can subsequently be enabled for local use or pushed to the public registry.
Expand Down
8 changes: 4 additions & 4 deletions docs/reference/commandline/plugin_disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ and enabled:
```bash
$ docker plugin ls

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

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

$ docker plugin ls

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

## Related commands
Expand Down
8 changes: 4 additions & 4 deletions docs/reference/commandline/plugin_enable.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ but disabled:
```bash
$ docker plugin ls

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

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

$ docker plugin ls

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

## Related commands
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/commandline/plugin_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ After the plugin is installed, it appears in the list of plugins:
```bash
$ docker plugin ls

ID NAME TAG DESCRIPTION ENABLED
69553ca1d123 vieux/sshfs latest sshFS plugin for Docker true
ID NAME DESCRIPTION ENABLED
69553ca1d123 vieux/sshfs:latest sshFS plugin for Docker true
```

## Related commands
Expand Down
8 changes: 4 additions & 4 deletions docs/reference/commandline/plugin_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Refer to the [filtering](#filtering) section for more information about availabl
```bash
$ docker plugin ls

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

### Filtering
Expand Down Expand Up @@ -65,7 +65,7 @@ Installed plugin vieux/sshfs

$ docker plugin ls --filter enabled=true

NAME TAG DESCRIPTION ENABLED
ID NAME DESCRIPTION ENABLED
```

### Formatting
Expand All @@ -78,7 +78,7 @@ Valid placeholders for the Go template are listed below:
Placeholder | Description
-------------------|------------------------------------------------------------
`.ID` | Plugin ID
`.Name` | Plugin name
`.Name` | Plugin name and tag
`.Description` | Plugin description
`.Enabled` | Whether plugin is enabled or not
`.PluginReference` | The reference used to push/pull from a registry
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/commandline/plugin_push.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ The following example shows how to push a sample `user/plugin`.
```bash
$ docker plugin ls

ID NAME TAG DESCRIPTION ENABLED
69553ca1d456 user/plugin latest A sample plugin for Docker false
ID NAME DESCRIPTION ENABLED
69553ca1d456 user/plugin:latest A sample plugin for Docker false

$ docker plugin push user/plugin
```
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/stack_ps.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ tz6j82jnwrx7 voting_db.1 postgres:9.4

#### desired-state

The `desired-state` filter can take the values `running`, `shutdown`, or `accepted`.
The `desired-state` filter can take the values `running`, `shutdown`, `ready` or `accepted`.

```bash
$ docker stack ps -f "desired-state=running" voting
Expand Down

0 comments on commit cb59caf

Please sign in to comment.