Merge pull request #390 from wking/example-move-id-mapping-from-process-to-linux

config: Move (u|g)idMappings from 'process' to 'linux'
This commit is contained in:
Michael Crosby 2016-04-21 09:34:35 -07:00
commit 77021d955d
1 changed files with 14 additions and 14 deletions

View File

@ -286,20 +286,6 @@ Here is a full example `config.json` for reference.
6 6
] ]
}, },
"uidMappings": [
{
"hostID": 1000,
"containerID": 0,
"size": 32000
}
],
"gidMappings": [
{
"hostID": 1000,
"containerID": 0,
"size": 32000
}
],
"args": [ "args": [
"sh" "sh"
], ],
@ -463,6 +449,20 @@ Here is a full example `config.json` for reference.
"gid": 0 "gid": 0
} }
], ],
"uidMappings": [
{
"hostID": 1000,
"containerID": 0,
"size": 32000
}
],
"gidMappings": [
{
"hostID": 1000,
"containerID": 0,
"size": 32000
}
],
"sysctl": { "sysctl": {
"net.ipv4.ip_forward": "1", "net.ipv4.ip_forward": "1",
"net.core.somaxconn": "256" "net.core.somaxconn": "256"