mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
doc: clarify command path requirements for exec
This commit is contained in:
@@ -32,9 +32,10 @@ task "webservice" {
|
||||
The `exec` driver supports the following configuration in the job spec:
|
||||
|
||||
* `command` - The command to execute. Must be provided. If executing a binary
|
||||
that exists on the host, the path must be absolute. If executing a binary that
|
||||
is downloaded from an [`artifact`](/docs/job-specification/artifact.html), the
|
||||
path can be relative from the allocations's root directory.
|
||||
that exists on the host, the path must be absolute and within the task's
|
||||
[chroot](exec.html#chroot). If executing a binary that is downloaded from
|
||||
an [`artifact`](/docs/job-specification/artifact.html), the path can be
|
||||
relative from the allocations's root directory.
|
||||
|
||||
* `args` - (Optional) A list of arguments to the `command`. References
|
||||
to environment variables or any [interpretable Nomad
|
||||
|
||||
Reference in New Issue
Block a user