Skip to content

Commit 25e6674

Browse files
committed
config: cwd is a required default
After thorough discussion, even though a reasonable default is "/", for platform independence, leave this up to the bundle author. Also, by this variable being present it makes things explicit for the runtime. Signed-off-by: Vincent Batts <[email protected]>
1 parent df3f12d commit 25e6674

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. Defaults to "/" on linux.
72+
* **`cwd`** (string, required) is the working directory that will be set for the executable.
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)