1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Updated sample config to be usable. We should change the namespace

config to not need "value" later.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
This commit is contained in:
Rohit Jnagal 2014-04-25 21:10:23 +00:00
parent 24f978094d
commit 8cdb720d26

View file

@ -9,24 +9,34 @@
], ],
"namespaces": [ "namespaces": [
{ {
"key": "NEWIPC", "file": "ipc",
"enabled": true "value": 134217728,
"enabled": true,
"key": "NEWIPC"
}, },
{ {
"key": "NEWNS", "file": "mnt",
"enabled": true "value": 131072,
"enabled": true,
"key": "NEWNS"
}, },
{ {
"key": "NEWPID", "file": "pid",
"enabled": true "value": 536870912,
"enabled": true,
"key": "NEWPID"
}, },
{ {
"key": "NEWUTS", "file": "uts",
"enabled": true "value": 67108864,
"enabled": true,
"key": "NEWUTS"
}, },
{ {
"key": "NEWNET", "file": "net",
"enabled": true "value": 1073741824,
"enabled": true,
"key": "NEWNET"
} }
], ],
"capabilities_mask": [ "capabilities_mask": [
@ -91,14 +101,21 @@
"enabled": false "enabled": false
} }
], ],
"networks": [{ "networks": [
{
"type": "loopback",
"gateway": "localhost",
"address": "127.0.0.1/0",
"mtu": 1500
},
{
"type": "veth", "type": "veth",
"gateway": "172.17.42.1",
"address": "172.17.0.4/16",
"context": { "context": {
"bridge": "docker0", "prefix": "dock",
"prefix": "dock" "bridge": "docker0"
}, },
"address": "172.17.0.100/16",
"gateway": "172.17.42.1",
"mtu": 1500 "mtu": 1500
} }
], ],
@ -106,6 +123,7 @@
"name": "docker-koye", "name": "docker-koye",
"parent": "docker", "parent": "docker",
"memory": 5248000, "memory": 5248000,
"memory_swap": -1,
"cpu_shares": 1024 "cpu_shares": 1024
} }
} }