2014-02-19 08:56:11 +08:00
|
|
|
{
|
2014-05-06 03:34:21 +08:00
|
|
|
"namespaces": {
|
|
|
|
"NEWNET": true,
|
|
|
|
"NEWPID": true,
|
|
|
|
"NEWIPC": true,
|
|
|
|
"NEWUTS": true,
|
|
|
|
"NEWNS": true
|
|
|
|
},
|
|
|
|
"networks": [
|
|
|
|
{
|
|
|
|
"gateway": "localhost",
|
|
|
|
"type": "loopback",
|
|
|
|
"address": "127.0.0.1/0",
|
|
|
|
"mtu": 1500
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"gateway": "172.17.42.1",
|
|
|
|
"context": {
|
|
|
|
"prefix": "veth",
|
|
|
|
"bridge": "docker0"
|
|
|
|
},
|
|
|
|
"type": "veth",
|
|
|
|
"address": "172.17.42.2/16",
|
|
|
|
"mtu": 1500
|
|
|
|
}
|
|
|
|
],
|
2014-05-17 15:06:29 +08:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"gateway": "172.17.42.1",
|
|
|
|
"interface_name": "eth0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"destination": "192.168.0.0/24",
|
|
|
|
"interface_name": "eth0"
|
|
|
|
}
|
|
|
|
],
|
2014-05-17 08:44:10 +08:00
|
|
|
"capabilities": [
|
|
|
|
"MKNOD"
|
|
|
|
],
|
2014-05-06 03:34:21 +08:00
|
|
|
"cgroups": {
|
|
|
|
"name": "docker-koye",
|
|
|
|
"parent": "docker"
|
|
|
|
},
|
|
|
|
"hostname": "koye",
|
|
|
|
"environment": [
|
|
|
|
"HOME=/",
|
|
|
|
"PATH=PATH=$PATH:/bin:/usr/bin:/sbin:/usr/sbin",
|
|
|
|
"container=docker",
|
|
|
|
"TERM=xterm-256color"
|
|
|
|
],
|
|
|
|
"tty": true,
|
|
|
|
"mounts": [
|
|
|
|
{
|
|
|
|
"type": "devtmpfs"
|
|
|
|
}
|
2014-05-20 08:13:00 +08:00
|
|
|
],
|
2014-02-18 07:14:30 +08:00
|
|
|
"device_nodes": [
|
|
|
|
{
|
|
|
|
"path": "/dev/null",
|
|
|
|
"type": 99,
|
|
|
|
"major_number": 1,
|
|
|
|
"minor_number": 3,
|
|
|
|
"cgroup_permissions": "rwm",
|
|
|
|
"file_mode": 438
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/dev/zero",
|
|
|
|
"type": 99,
|
|
|
|
"major_number": 1,
|
|
|
|
"minor_number": 5,
|
|
|
|
"cgroup_permissions": "rwm",
|
|
|
|
"file_mode": 438
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/dev/full",
|
|
|
|
"type": 99,
|
|
|
|
"major_number": 1,
|
|
|
|
"minor_number": 7,
|
|
|
|
"cgroup_permissions": "rwm",
|
|
|
|
"file_mode": 438
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/dev/tty",
|
|
|
|
"type": 99,
|
|
|
|
"major_number": 5,
|
|
|
|
"minor_number": 0,
|
|
|
|
"cgroup_permissions": "rwm",
|
|
|
|
"file_mode": 438
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/dev/urandom",
|
|
|
|
"type": 99,
|
|
|
|
"major_number": 1,
|
|
|
|
"minor_number": 9,
|
|
|
|
"cgroup_permissions": "rwm",
|
|
|
|
"file_mode": 438
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/dev/random",
|
|
|
|
"type": 99,
|
|
|
|
"major_number": 1,
|
|
|
|
"minor_number": 8,
|
|
|
|
"cgroup_permissions": "rwm",
|
|
|
|
"file_mode": 438
|
|
|
|
}
|
2014-05-21 08:36:50 +08:00
|
|
|
]
|
2014-02-19 08:56:11 +08:00
|
|
|
}
|