Skip to content

Commit

Permalink
backport of commit e565ffe
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Nov 11, 2022
1 parent 70e8935 commit aed22d8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion website/content/docs/drivers/exec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,16 @@ 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 and within the task's
[chroot](#chroot) or in a [host volume][] mounted with a
[`volume_mount`][volume_mount] block. If executing a binary that is downloaded
[`volume_mount`][volume_mount] block. The driver will make the binary
executable and will search, in order:

- The `local` directory with the task directory.
- The task directory.
- Any mounts, in the order listed in the job specification.
- The `usr/local/bin`, `usr/bin` and `bin` directories inside the task
directory.

If executing a binary that is downloaded
from an [`artifact`](/docs/job-specification/artifact), the path can be
relative from the allocation's root directory.

Expand Down

0 comments on commit aed22d8

Please sign in to comment.