docs: update Docker driver to detail new image_pull_timeout params.

This commit is contained in:
James Rasell 2020-08-14 09:40:24 +01:00
parent b797341ab7
commit 01413d8258
No known key found for this signature in database
GPG Key ID: AA7D460F5C8377AA
1 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,10 @@ The `docker` driver supports the following configuration in the job spec. Only
}
```
- `image_pull_timeout` - (Optional) A time duration that controls how long Nomad
will wait before cancelling an in-progress pull of the Docker image as specified
in `image`. Defaults to `"5m"`.
- `args` - (Optional) A list of arguments to the optional `command`. If no
`command` is specified, the arguments are passed directly to the container.
References to environment variables or any [interpretable Nomad
@ -823,6 +827,10 @@ plugin "docker" {
container necessary when sharing network namespaces between tasks. Defaults
to "gcr.io/google_containers/pause-amd64:3.0".
- `infra_image_pull_timeout` - A time duration that controls how long Nomad will
wait before cancelling an in-progress pull of the Docker image as specified in
`infra_image`. Defaults to `"5m"`.
## Client Configuration
~> Note: client configuration options will soon be deprecated. Please use