Skip to content

Commit 77021d9

Browse files
committed
Merge pull request #390 from wking/example-move-id-mapping-from-process-to-linux
config: Move (u|g)idMappings from 'process' to 'linux'
2 parents b185d03 + cf55cdc commit 77021d9

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

config.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -286,20 +286,6 @@ Here is a full example `config.json` for reference.
286286
6
287287
]
288288
},
289-
"uidMappings": [
290-
{
291-
"hostID": 1000,
292-
"containerID": 0,
293-
"size": 32000
294-
}
295-
],
296-
"gidMappings": [
297-
{
298-
"hostID": 1000,
299-
"containerID": 0,
300-
"size": 32000
301-
}
302-
],
303289
"args": [
304290
"sh"
305291
],
@@ -463,6 +449,20 @@ Here is a full example `config.json` for reference.
463449
"gid": 0
464450
}
465451
],
452+
"uidMappings": [
453+
{
454+
"hostID": 1000,
455+
"containerID": 0,
456+
"size": 32000
457+
}
458+
],
459+
"gidMappings": [
460+
{
461+
"hostID": 1000,
462+
"containerID": 0,
463+
"size": 32000
464+
}
465+
],
466466
"sysctl": {
467467
"net.ipv4.ip_forward": "1",
468468
"net.core.somaxconn": "256"

0 commit comments

Comments
 (0)