docs: fix minor formatting issues on docker driver page. (#8578)

Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
This commit is contained in:
James Rasell 2020-08-11 12:41:50 +02:00 committed by GitHub
parent f245ba91c4
commit 994468a3e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -409,7 +409,7 @@ The `docker` driver supports the following configuration in the job spec. Only
- `advertise_ipv6_address` - (Optional) `true` or `false` (default). Use the container's
IPv6 address (GlobalIPv6Address in Docker) when registering services and checks.
See [IPv6 Docker containers](/docs/job-specification/service#IPv6 Docker containers) for details.
See [IPv6 Docker containers](/docs/job-specification/service#ipv6-docker-containers) for details.
- `readonly_rootfs` - (Optional) `true` or `false` (default). Mount
the container's filesystem as read only.
@ -709,10 +709,10 @@ plugin "docker" {
- `endpoint` - If using a non-standard socket, HTTP or another location, or if
TLS is being used, docker.endpoint must be set. If unset, Nomad will attempt
to instantiate a Docker client using the DOCKER_HOST environment variable and
to instantiate a Docker client using the `DOCKER_HOST` environment variable and
then fall back to the default listen address for the given operating system.
Defaults to unix:///var/run/docker.sock on Unix platforms and
npipe:////./pipe/docker_engine for Windows.
Defaults to `unix:///var/run/docker.sock` on Unix platforms and
`npipe:////./pipe/docker_engine` for Windows.
- `allow_privileged` - Defaults to `false`. Changing this to true will allow
containers to use privileged mode, which gives the containers full access to
@ -725,8 +725,8 @@ plugin "docker" {
- `allow_caps`<a id="plugin_caps"></a> - A list of allowed Linux capabilities.
Defaults to
"CHOWN,DAC_OVERRIDE,FSETID,FOWNER,MKNOD,NET_RAW,SETGID,SETUID,SETFCAP,SETPCAP,
NET_BIND_SERVICE,SYS_CHROOT,KILL,AUDIT_WRITE", which is the list of
`CHOWN,DAC_OVERRIDE,FSETID,FOWNER,MKNOD,NET_RAW,SETGID,SETUID,SETFCAP,SETPCAP,
NET_BIND_SERVICE,SYS_CHROOT,KILL,AUDIT_WRITE` which is the list of
capabilities allowed by docker by default, as defined here. Allows the
operator to control which capabilities can be obtained by tasks using cap_add
and cap_drop options. Supports the value "ALL" as a shortcut for whitelisting
@ -743,7 +743,7 @@ plugin "docker" {
`credHelpers` or `credsStore`.
- `helper`<a id="plugin_auth_helper"></a> - Allows an operator to specify a
[credsStore](https://docs.docker.com/engine/reference/commandline/login/#credential-helper-protocol)
-like script on \$PATH to lookup authentication information from external
like script on `$PATH` to lookup authentication information from external
sources. The script's name must begin with `docker-credential-` and this
option should include only the basename of the script, not the path.