Skip to content

Commit df3f12d

Browse files
committed
define the default value for the cwd
Signed-off-by: Lai Jiangshan <[email protected]>
1 parent 2fd5ad6 commit df3f12d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The runtime MUST mount entries in the listed order.
6969
## Process configuration
7070

7171
* **`terminal`** (bool, optional) specifies whether you want a terminal attached to that process. Defaults to false.
72-
* **`cwd`** (string, optional) is the working directory that will be set for the executable.
72+
* **`cwd`** (string, optional) is the working directory that will be set for the executable. Defaults to "/" on linux.
7373
* **`env`** (array of strings, optional) contains a list of variables that will be set in the process's environment prior to execution. Elements in the array are specified as Strings in the form "KEY=value". The left hand side must consist solely of letters, digits, and underscores `_` as outlined in [IEEE Std 1003.1-2001](http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html).
7474
* **`args`** (string, required) executable to launch and any flags as an array. The executable is the first element and must be available at the given path inside of the rootfs. If the executable path is not an absolute path then the search $PATH is interpreted to find the executable.
7575

0 commit comments

Comments
 (0)