docs: fix (table) formatting, fix some broken links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -54,7 +54,7 @@ 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 |
|
||||
| `.Orchestrator` | Orchestrator name |
|
||||
@ -74,6 +74,7 @@ web-cache: 4
|
||||
```
|
||||
|
||||
To list all stacks in JSON format, use the `json` directive:
|
||||
|
||||
```console
|
||||
$ docker stack ls --format json
|
||||
{"Name":"myapp","Namespace":"","Orchestrator":"Swarm","Services":"3"}
|
||||
|
||||
Reference in New Issue
Block a user