Merge pull request #3949 from thaJeztah/fix_more_anchors

docs: fix some more anchors
This commit is contained in:
Sebastiaan van Stijn 2023-01-06 19:12:13 +01:00 committed by GitHub
commit 9d1ace9aeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 10 deletions

View File

@ -294,7 +294,7 @@ busybox uclibc e02e811dd08f 5 weeks ago
busybox glibc 21c16b6787c6 5 weeks ago 4.19 MB 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 The formatting option (`--format`) will pretty print container output
using a Go template. using a Go template.

View File

@ -29,7 +29,7 @@ Options:
## Description ## Description
Lists all the nodes that the Docker Swarm manager knows about. You can filter 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. for more information about available filter options.
> **Note** > **Note**

View File

@ -24,7 +24,7 @@ Options:
## Description ## Description
Lists all the tasks on a Node that Docker knows about. You can filter using the 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. information about available filter options.
> **Note** > **Note**

View File

@ -32,7 +32,7 @@ Options:
Lists all the plugins that are currently installed. You can install plugins Lists all the plugins that are currently installed. You can install plugins
using the [`docker plugin install`](plugin_install.md) command. using the [`docker plugin install`](plugin_install.md) command.
You can also filter using the `-f` or `--filter` flag. 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 ## Examples

View File

@ -299,7 +299,7 @@ $ docker service create \
For more information about labels, refer to [apply custom For more information about labels, refer to [apply custom
metadata](https://docs.docker.com/config/labels-custom-metadata/). 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 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 from or write to files or directories, either on the host operating system, or

View File

@ -149,9 +149,9 @@ Ports:
You can also use `--format pretty` for the same effect. 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 The `--format` option can be used to obtain specific information about a
service. For example, the following command outputs the number of replicas service. For example, the following command outputs the number of replicas
of the "redis" service. of the "redis" service.

View File

@ -156,7 +156,7 @@ point, effectively removing the `test-data` volume. Each command returns the
service name. service name.
- The `--mount-add` flag takes the same parameters as the `--mount` flag on - 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. section in the `service create` reference for details.
- The `--mount-rm` flag takes the `target` path of the mount. - The `--mount-rm` flag takes the `target` path of the mount.

View File

@ -33,7 +33,7 @@ Options:
## Description ## Description
List all the volumes known to Docker. You can filter using the `-f` or 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. information about available filter options.
## Examples ## Examples
@ -56,7 +56,7 @@ local rosemary
local tyler local tyler
``` ```
### Filtering ### <a name=filter></a> Filtering (--filter)
The filtering flag (`-f` or `--filter`) format is of "key=value". If there is more 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"`) than one filter, then pass multiple flags (e.g., `--filter "foo=bar" --filter "bif=baz"`)