File tree Expand file tree Collapse file tree 3 files changed +26
-15
lines changed Expand file tree Collapse file tree 3 files changed +26
-15
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ See links for details about [mountvol](http://ss64.com/nt/mountvol.html) and [Se
9999 * ** ` args ` ** (array of strings, optional) executable to launch and any flags as an array.
100100 The executable is the first element and MUST be available at the given path inside of the rootfs.
101101 If the executable path is not an absolute path then the search $PATH is interpreted to find the executable.
102+ * ** ` user ` ** (object, required) the process user.
103+ The properties for this object are [ platform dependent] ( #user ) .
102104
103105 For Linux-based systems the process structure supports the following process specific fields:
104106
Original file line number Diff line number Diff line change 11{
22 "definitions" : {
3+ "user" : {
4+ "type" : " object" ,
5+ "properties" : {
6+ "uid" : {
7+ "$ref" : " defs.json#/definitions/UID"
8+ },
9+ "gid" : {
10+ "$ref" : " defs.json#/definitions/GID"
11+ },
12+ "additionalGids" : {
13+ "$ref" : " defs.json#/definitions/ArrayOfGIDs"
14+ }
15+ },
16+ "required" : [
17+ " uid" ,
18+ " gid"
19+ ]
20+ },
321 "SeccompArch" : {
422 "type" : " string" ,
523 "enum" : [
Original file line number Diff line number Diff line change 8383 "id" : " https://opencontainers.org/schema/bundle/process" ,
8484 "type" : " object" ,
8585 "required" : [
86- " cwd"
86+ " cwd" ,
87+ " user"
8788 ],
8889 "properties" : {
8990 "args" : {
104105 },
105106 "user" : {
106107 "id" : " https://opencontainers.org/schema/bundle/process/user" ,
107- "type" : " object" ,
108- "properties" : {
109- "uid" : {
110- "id" : " https://opencontainers.org/schema/bundle/process/user/uid" ,
111- "$ref" : " defs.json#/definitions/UID"
112- },
113- "gid" : {
114- "id" : " https://opencontainers.org/schema/bundle/process/user/gid" ,
115- "$ref" : " defs.json#/definitions/GID"
116- },
117- "additionalGids" : {
118- "id" : " https://opencontainers.org/schema/bundle/process/user/additionalGids" ,
119- "$ref" : " defs.json#/definitions/ArrayOfGIDs"
108+ "oneOf" : [
109+ {
110+ "$ref" : " defs-linux.json#/definitions/user"
120111 }
121- }
112+ ]
122113 },
123114 "capabilities" : {
124115 "id" : " https://opencontainers.org/schema/bundle/process/linux/capabilities" ,
You can’t perform that action at this time.
0 commit comments