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
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,7 @@ For POSIX platforms the `user` structure has the following fields:
221
221
222
222
***`uid`** (int, REQUIRED) specifies the user ID in the [container namespace](glossary.md#container-namespace).
223
223
***`gid`** (int, REQUIRED) specifies the group ID in the [container namespace](glossary.md#container-namespace).
224
+
***`umask`** (int, OPTIONAL) specifies the [umask][umask_2] of the user. If unspecified, the umask should not be changed from the calling process' umask.
224
225
***`additionalGids`** (array of ints, OPTIONAL) specifies additional group IDs in the [container namespace](glossary.md#container-namespace) to be added to the process.
225
226
226
227
_Note: symbolic name for uid and gid, such as uname and gname respectively, are left to upper levels to derive (i.e. `/etc/passwd` parsing, NSS, etc)_
@@ -237,6 +238,7 @@ _Note: symbolic name for uid and gid, such as uname and gname respectively, are
237
238
"user": {
238
239
"uid": 1,
239
240
"gid": 1,
241
+
"umask": 63,
240
242
"additionalGids": [5, 6]
241
243
},
242
244
"env": [
@@ -295,6 +297,7 @@ _Note: symbolic name for uid and gid, such as uname and gname respectively, are
295
297
"user": {
296
298
"uid": 1,
297
299
"gid": 1,
300
+
"umask": 7,
298
301
"additionalGids": [2, 8]
299
302
},
300
303
"env": [
@@ -855,6 +858,7 @@ Here is a full example `config.json` for reference.
0 commit comments