Skip to content

Commit 25e30fe

Browse files
committed
Merge pull request #32 from lizf-os/fix-config-md-typos
Fix typos in config.md
2 parents 6a1652b + ecb7590 commit 25e30fe

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

config.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Each container has exactly one *root filesystem*, and any number of optional *mo
2222

2323
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.
2424

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.
2626

2727
*Example (Linux)*
2828

@@ -38,7 +38,7 @@ The readonlyRootfs is an optional boolean element which defaults to false. If it
3838
"readonlyRootfs": true,
3939
```
4040

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)
4242

4343
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
4444

@@ -132,7 +132,7 @@ The processes to be created inside the container are specified in a processes ar
132132

133133
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.
134134

135-
Environment variables are specified is an array called env.
135+
Environment variables are specified in an array called env.
136136

137137
Elements in the array are specified as Strings in the form "KEY=value"
138138

@@ -161,17 +161,17 @@ tty is a boolean that lets you specify whether you want a terminal attached to t
161161

162162
hostname is a string specifying the hostname for that container as it is accessible to processes running in it.
163163

164-
### Resource Constraints
165-
166164
*Example*
167165

168166
```
169167
"hostname": "mrsdalloway",
170168
```
171169

170+
### Resource Constraints
171+
172172
The number of CPUs is specified as a positive decimal under the key cpus.
173173

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.
175175

176176
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.
177177

@@ -204,6 +204,6 @@ os specifies the operating system family this image must run on.
204204

205205
arch specifies the instruction set for which the binaries in the image have been compiled.
206206

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
208208

209209
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

Comments
 (0)