Skip to content

Commit 18965b0

Browse files
author
Mrunal Patel
authored
Merge pull request opencontainers#697 from q384566678/config-linux-fix
config-linux.md: fix info
2 parents 472cdae + 5a47021 commit 18965b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

config-linux.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following filesystems SHOULD be made available in each container's filesyste
1212

1313
| Path | Type |
1414
| -------- | ------ |
15-
| /proc | [procfs](https://www.kernel.org/doc/Documentation/filesystems/proc.txt) |
15+
| /proc | [proc](https://www.kernel.org/doc/Documentation/filesystems/proc.txt) |
1616
| /sys | [sysfs](https://www.kernel.org/doc/Documentation/filesystems/sysfs.txt) |
1717
| /dev/pts | [devpts](https://www.kernel.org/doc/Documentation/filesystems/devpts.txt) |
1818
| /dev/shm | [tmpfs](https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt) |
@@ -78,9 +78,9 @@ If a `namespaces` field contains duplicated namespaces with same `type`, the run
7878

7979
Each entry has the following structure:
8080

81-
* **`hostID`** (uint32, REQUIRED)* - is the starting uid/gid on the host to be mapped to *containerID*.
82-
* **`containerID`** (uint32, REQUIRED)* - is the starting uid/gid in the container.
83-
* **`size`** (uint32, REQUIRED)* - is the number of ids to be mapped.
81+
* **`hostID`** *(uint32, REQUIRED)* - is the starting uid/gid on the host to be mapped to *containerID*.
82+
* **`containerID`** *(uint32, REQUIRED)* - is the starting uid/gid in the container.
83+
* **`size`** *(uint32, REQUIRED)* - is the number of ids to be mapped.
8484

8585
The runtime SHOULD NOT modify the ownership of referenced filesystems to realize the mapping.
8686
Note that the number of mapping entries MAY be limited by the [kernel][user-namespaces].
@@ -115,7 +115,7 @@ Each entry has the following structure:
115115
More info in [mknod(1)][mknod.1].
116116
* **`path`** *(string, REQUIRED)* - full path to device inside container.
117117
If a [file][file.1] already exists at `path` that does not match the requested device, the runtime MUST generate an error.
118-
* **`major, minor`** *(int64, REQUIRED unless **`type`** is `p`)* - [major, minor numbers][devices] for the device.
118+
* **`major, minor`** *(int64, REQUIRED unless `type` is `p`)* - [major, minor numbers][devices] for the device.
119119
* **`fileMode`** *(uint32, OPTIONAL)* - file mode for the device.
120120
You can also control access to devices [with cgroups](#device-whitelist).
121121
* **`uid`** *(uint32, OPTIONAL)* - id of device owner.

0 commit comments

Comments
 (0)