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:
commit
77021d955d
28
config.md
28
config.md
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue