github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/website/source/docs/drivers/raw_exec.html.md (about) 1 --- 2 layout: "docs" 3 page_title: "Drivers: Raw Exec" 4 sidebar_current: "docs-drivers-raw-exec" 5 description: |- 6 The Raw Exec task driver simply fork/execs and provides no isolation. 7 --- 8 9 # Raw Fork/Exec Driver 10 11 Name: `raw_exec` 12 13 The `raw_exec` driver is used to execute a command for a task without any 14 isolation. Further, the task is started as the same user as the Nomad process. 15 As such, it should be used with extreme care and is disabled by default. 16 17 ## Task Configuration 18 19 The `raw_exec` driver supports the following configuration in the job spec: 20 21 * `command` - The command to execute. Must be provided. 22 23 * `args` - The argument list to the command, space seperated. Optional. 24 25 ## Client Requirements 26 27 The `raw_exec` driver can run on all supported operating systems. It is however 28 disabled by default. In order to be enabled, the Nomad client configuration must 29 explicitly enable the `raw_exec` driver in the 30 [options](../agent/config.html#options) field: 31 32 ``` 33 options = { 34 driver.raw_exec.enable = "1" 35 } 36 ``` 37 38 ## Client Attributes 39 40 The `raw_exec` driver will set the following client attributes: 41 42 * `driver.raw_exec` - This will be set to "1", indicating the 43 driver is available. 44 45 ## Resource Isolation 46 47 The `raw_exec` driver provides no isolation.