You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Each container has exactly one *root filesystem*, and any number of optional *mo
22
22
23
23
The rootfs string element specifies the path to the root file system for the container, relative to the path where the manifest is. A directory MUST exist at the relative path declared by the field.
24
24
25
-
The readonlyRootfs is an optional boolean element which defaults to false. If it is true, access to the root file system MUST be read-only for all processes running inside it. whether you want the root file system to be readonly or not for the processes running on it.
25
+
The readonlyRootfs is an optional boolean element which defaults to false. If it is true, access to the root file system MUST be read-only for all processes running inside it, whether you want the root file system to be readonly or not for the processes running on it.
26
26
27
27
*Example (Linux)*
28
28
@@ -38,7 +38,7 @@ The readonlyRootfs is an optional boolean element which defaults to false. If it
38
38
"readonlyRootfs": true,
39
39
```
40
40
41
-
Additional file systems can be declared as "mounts", declared by the the array element mounts. The parameters are similar to the ones in Linux mount system call. [http://linux.die.net/man/2/mount](http://linux.die.net/man/2/mount)
41
+
Additional file systems can be declared as "mounts", declared by the array element mounts. The parameters are similar to the ones in Linux mount system call. [http://linux.die.net/man/2/mount](http://linux.die.net/man/2/mount)
42
42
43
43
type: Linux, *filesystemtype* argument supported by the kernel are listed in */proc/filesystems* (e.g., "minix", "ext2", "ext3", "jfs", "xfs", "reiserfs", "msdos", "proc", "nfs", "iso9660"). Windows: ntfs
44
44
@@ -132,7 +132,7 @@ The processes to be created inside the container are specified in a processes ar
132
132
133
133
The command to start a process is specified in an array of args. It will be run in the working directory specified in the string cwd.
134
134
135
-
Environment variables are specified is an array called env.
135
+
Environment variables are specified in an array called env.
136
136
137
137
Elements in the array are specified as Strings in the form "KEY=value"
138
138
@@ -161,17 +161,17 @@ tty is a boolean that lets you specify whether you want a terminal attached to t
161
161
162
162
hostname is a string specifying the hostname for that container as it is accessible to processes running in it.
163
163
164
-
### Resource Constraints
165
-
166
164
*Example*
167
165
168
166
```
169
167
"hostname": "mrsdalloway",
170
168
```
171
169
170
+
### Resource Constraints
171
+
172
172
The number of CPUs is specified as a positive decimal under the key cpus.
173
173
174
-
The amount of memory allocated to this container is specified under the memory key, as an integer and is expressed in MBb.
174
+
The amount of memory allocated to this container is specified under the memory key, as an integer and is expressed in MB.
175
175
176
176
If the cpu or memory requested are too high for the underlying environment capabilities, an error code NOT_ENOUGH_CPU or NOT_ENOUGH_MEM will be returned.
177
177
@@ -204,6 +204,6 @@ os specifies the operating system family this image must run on.
204
204
205
205
arch specifies the instruction set for which the binaries in the image have been compiled.
206
206
207
-
values for os and arch must be in the list specified by by the Go Language documentation for $GOOS and $GOARCH https://golang.org/doc/install/source#environment
207
+
values for os and arch must be in the list specified by the Go Language documentation for $GOOS and $GOARCH https://golang.org/doc/install/source#environment
208
208
209
209
OS or architecture specific settings can be added in the json file. They will be interpreted by the implementation depending on the os and arch values specified at the top of the manifest.
0 commit comments