Skip to content

Commit

Permalink
Update stack ls documentation with the new Orchestrator column
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Champlon <[email protected]>
  • Loading branch information
mat007 committed Apr 30, 2018
1 parent d1354b2 commit a4e4924
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/reference/commandline/stack_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ The following command shows all stacks and some additional information:
```bash
$ docker stack ls

ID SERVICES
vossibility-stack 6
myapp 2
ID SERVICES ORCHESTRATOR
myapp 2 Kubernetes
vossibility-stack 6 Swarm
```

### Formatting
Expand All @@ -50,10 +50,11 @@ The formatting option (`--format`) pretty-prints stacks using a Go template.

Valid placeholders for the Go template are listed below:

| Placeholder | Description |
| ----------- | ------------------ |
| `.Name` | Stack name |
| `.Services` | Number of services |
| Placeholder | Description |
| --------------- | ------------------ |
| `.Name` | Stack name |
| `.Services` | Number of services |
| `.Orchestrator` | Orchestrator name |

When using the `--format` option, the `stack ls` command either outputs
the data exactly as the template declares or, when using the
Expand Down

0 comments on commit a4e4924

Please sign in to comment.