From df3f12deab0eccd27540428b6677e3f4f17889c6 Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Tue, 29 Dec 2015 11:15:56 +0800 Subject: [PATCH] define the default value for the `cwd` Signed-off-by: Lai Jiangshan --- config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.md b/config.md index a3c132ae3..d57a40a51 100644 --- a/config.md +++ b/config.md @@ -69,7 +69,7 @@ The runtime MUST mount entries in the listed order. ## Process configuration * **`terminal`** (bool, optional) specifies whether you want a terminal attached to that process. Defaults to false. -* **`cwd`** (string, optional) is the working directory that will be set for the executable. +* **`cwd`** (string, optional) is the working directory that will be set for the executable. Defaults to "/" on linux. * **`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). * **`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.