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-linux.md
-46Lines changed: 0 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,49 +25,3 @@ Its value is either slave, private, or shared.
25
25
```json
26
26
"rootfsPropagation": "slave",
27
27
```
28
-
29
-
## User namespace mappings
30
-
31
-
```json
32
-
"uidMappings": [
33
-
{
34
-
"hostID": 1000,
35
-
"containerID": 0,
36
-
"size": 10
37
-
}
38
-
],
39
-
"gidMappings": [
40
-
{
41
-
"hostID": 1000,
42
-
"containerID": 0,
43
-
"size": 10
44
-
}
45
-
]
46
-
```
47
-
48
-
uid/gid mappings describe the user namespace mappings from the host to the container.
49
-
The mappings represent how the bundle `rootfs` expects the user namespace to be setup and the runtime SHOULD NOT modify the permissions on the rootfs to realize the mapping.
50
-
*hostID* is the starting uid/gid on the host to be mapped to *containerID* which is the starting uid/gid in the container and *size* refers to the number of ids to be mapped.
51
-
There is a limit of 5 mappings which is the Linux kernel hard limit.
52
-
53
-
## Default Devices and File Systems
54
-
55
-
The Linux ABI includes both syscalls and several special file paths.
56
-
Applications expecting a Linux environment will very likely expect these files paths to be setup correctly.
57
-
58
-
The following devices and filesystems MUST be made available in each application's filesystem
Copy file name to clipboardExpand all lines: runtime-config-linux.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,30 @@ container via system level IPC.
44
44
***user** the container will be able to remap user and group IDs from the host to local users and groups
45
45
within the container.
46
46
47
+
## User namespace mappings
48
+
49
+
uid/gid mappings describe the user namespace mappings from the host to the container.
50
+
The mappings represent how the bundle `rootfs` expects the user namespace to be setup and the runtime SHOULD NOT modify the permissions on the rootfs to realize the mapping.
51
+
*hostID* is the starting uid/gid on the host to be mapped to *containerID* which is the starting uid/gid in the container and *size* refers to the number of ids to be mapped.
52
+
There is a limit of 5 mappings which is the Linux kernel hard limit.
53
+
54
+
```json
55
+
"uidMappings": [
56
+
{
57
+
"hostID": 1000,
58
+
"containerID": 0,
59
+
"size": 10
60
+
}
61
+
],
62
+
"gidMappings": [
63
+
{
64
+
"hostID": 1000,
65
+
"containerID": 0,
66
+
"size": 10
67
+
}
68
+
]
69
+
```
70
+
47
71
## Devices
48
72
49
73
Devices is an array specifying the list of devices to be created in the container.
@@ -125,6 +149,19 @@ Next parameters can be specified:
125
149
]
126
150
```
127
151
152
+
Note: The following devices MUST be made available in each Linux application's filesystem
0 commit comments