Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/commandline/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ busybox uclibc e02e811dd08f 5 weeks ago
busybox glibc 21c16b6787c6 5 weeks ago 4.19 MB
```

### Format the output
### <a name=format></a> Format the output (--format)

The formatting option (`--format`) will pretty print container output
using a Go template.
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/node_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Options:
## Description

Lists all the nodes that the Docker Swarm manager knows about. You can filter
using the `-f` or `--filter` flag. Refer to the [filtering](#filtering) section
using the `-f` or `--filter` flag. Refer to the [filtering](#filter) section
for more information about available filter options.

> **Note**
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/node_ps.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Options:
## Description

Lists all the tasks on a Node that Docker knows about. You can filter using the
`-f` or `--filter` flag. Refer to the [filtering](#filtering) section for more
`-f` or `--filter` flag. Refer to the [filtering](#filter) section for more
information about available filter options.

> **Note**
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/plugin_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Options:
Lists all the plugins that are currently installed. You can install plugins
using the [`docker plugin install`](plugin_install.md) command.
You can also filter using the `-f` or `--filter` flag.
Refer to the [filtering](#filtering) section for more information about available filter options.
Refer to the [filtering](#filter) section for more information about available filter options.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/service_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ $ docker service create \
For more information about labels, refer to [apply custom
metadata](https://docs.docker.com/config/labels-custom-metadata/).

### Add bind mounts, volumes or memory filesystems
### <a name=mount></a> Add bind mounts, volumes or memory filesystems (--mount)

Docker supports three different kinds of mounts, which allow containers to read
from or write to files or directories, either on the host operating system, or
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/commandline/service_inspect.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ Ports:

You can also use `--format pretty` for the same effect.

### <a name=format></a> Format the output (--format)

#### Find the number of tasks running as part of a service

You can use the --format option to obtain specific information about a
The `--format` option can be used to obtain specific information about a
service. For example, the following command outputs the number of replicas
of the "redis" service.
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/service_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ point, effectively removing the `test-data` volume. Each command returns the
service name.

- The `--mount-add` flag takes the same parameters as the `--mount` flag on
`service create`. Refer to the [volumes and bind mounts](service_create.md#mount-add)
`service create`. Refer to the [volumes and bind mounts](service_create.md#mount)
section in the `service create` reference for details.

- The `--mount-rm` flag takes the `target` path of the mount.
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/commandline/volume_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Options:
## Description

List all the volumes known to Docker. You can filter using the `-f` or
`--filter` flag. Refer to the [filtering](#filtering) section for more
`--filter` flag. Refer to the [filtering](#filter) section for more
information about available filter options.

## Examples
Expand All @@ -56,7 +56,7 @@ local rosemary
local tyler
```

### Filtering
### <a name=filter></a> Filtering (--filter)

The filtering flag (`-f` or `--filter`) format is of "key=value". If there is more
than one filter, then pass multiple flags (e.g., `--filter "foo=bar" --filter "bif=baz"`)
Expand Down