2014-11-05 14:35:41 +08:00
|
|
|
{
|
|
|
|
"capabilities": [
|
|
|
|
"CHOWN",
|
|
|
|
"DAC_OVERRIDE",
|
|
|
|
"FOWNER",
|
|
|
|
"MKNOD",
|
|
|
|
"NET_RAW",
|
|
|
|
"SETGID",
|
|
|
|
"SETUID",
|
|
|
|
"SETFCAP",
|
|
|
|
"SETPCAP",
|
|
|
|
"NET_BIND_SERVICE",
|
|
|
|
"SYS_CHROOT",
|
|
|
|
"KILL"
|
|
|
|
],
|
|
|
|
"cgroups": {
|
|
|
|
"allowed_devices": [
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "m",
|
|
|
|
"major": -1,
|
|
|
|
"minor": -1,
|
2014-11-05 14:35:41 +08:00
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "m",
|
|
|
|
"major": -1,
|
|
|
|
"minor": -1,
|
2014-11-05 14:35:41 +08:00
|
|
|
"type": 98
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
|
|
|
"major": 5,
|
|
|
|
"minor": 1,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/console",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
|
|
|
"major": 4,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/tty0",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
|
|
|
"major": 4,
|
|
|
|
"minor": 1,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/tty1",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
|
|
|
"major": 136,
|
|
|
|
"minor": -1,
|
2014-11-05 14:35:41 +08:00
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
|
|
|
"major": 5,
|
|
|
|
"minor": 2,
|
2014-11-05 14:35:41 +08:00
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
|
|
|
"major": 10,
|
|
|
|
"minor": 200,
|
2014-11-05 14:35:41 +08:00
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 3,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/null",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 5,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/zero",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 7,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/full",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 5,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/tty",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 9,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/urandom",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 8,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/random",
|
|
|
|
"type": 99
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "docker-koye",
|
|
|
|
"parent": "docker"
|
|
|
|
},
|
|
|
|
"restrict_sys": true,
|
2015-02-04 09:44:58 +08:00
|
|
|
"devices": [
|
2014-11-05 14:35:41 +08:00
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 3,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/null",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 5,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/zero",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 7,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/full",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 5,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/tty",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 9,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/urandom",
|
|
|
|
"type": 99
|
|
|
|
},
|
|
|
|
{
|
2015-02-03 20:27:21 +08:00
|
|
|
"permissions": "rwm",
|
2014-11-05 14:35:41 +08:00
|
|
|
"file_mode": 438,
|
2015-02-03 20:27:21 +08:00
|
|
|
"major": 1,
|
|
|
|
"minor": 8,
|
2014-11-05 14:35:41 +08:00
|
|
|
"path": "/dev/random",
|
|
|
|
"type": 99
|
|
|
|
}
|
2015-02-03 20:27:21 +08:00
|
|
|
],
|
2014-11-05 14:35:41 +08:00
|
|
|
"environment": [
|
|
|
|
"HOME=/",
|
|
|
|
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
|
|
|
"HOSTNAME=koye",
|
|
|
|
"TERM=xterm"
|
|
|
|
],
|
|
|
|
"hostname": "koye",
|
2014-11-25 06:39:32 +08:00
|
|
|
"namespaces": [
|
2015-01-27 20:54:19 +08:00
|
|
|
{"type": "NEWIPC"},
|
|
|
|
{"type": "NEWNET"},
|
|
|
|
{"type": "NEWNS"},
|
|
|
|
{"type": "NEWPID"},
|
|
|
|
{"type": "NEWUTS"}
|
2014-11-25 06:39:32 +08:00
|
|
|
],
|
2014-11-05 14:35:41 +08:00
|
|
|
"networks": [
|
|
|
|
{
|
|
|
|
"address": "127.0.0.1/0",
|
|
|
|
"gateway": "localhost",
|
|
|
|
"mtu": 1500,
|
|
|
|
"type": "loopback"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"address": "172.17.0.101/16",
|
|
|
|
"bridge": "docker0",
|
|
|
|
"veth_prefix": "veth",
|
|
|
|
"mtu": 1500,
|
|
|
|
"type": "veth"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"destination": "0.0.0.0/0",
|
|
|
|
"source": "172.17.0.101",
|
|
|
|
"gateway": "172.17.42.1",
|
|
|
|
"interface_name": "eth0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tty": true
|
|
|
|
}
|