Update sample json file for quick testing

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-06-17 15:49:40 -07:00
parent 77ffd49dfe
commit 9da679b6bd
1 changed files with 209 additions and 103 deletions

View File

@ -1,107 +1,213 @@
{ {
"namespaces": { "capabilities": [
"NEWNET": true, "CHOWN",
"NEWPID": true, "DAC_OVERRIDE",
"NEWIPC": true, "FOWNER",
"NEWUTS": true, "MKNOD",
"NEWNS": true "NET_RAW",
}, "SETGID",
"networks": [ "SETUID",
{ "SETFCAP",
"gateway": "localhost", "SETPCAP",
"type": "loopback", "NET_BIND_SERVICE",
"address": "127.0.0.1/0", "SYS_CHROOT",
"mtu": 1500 "KILL"
],
"cgroups": {
"allowed_devices": [
{
"cgroup_permissions": "m",
"major_number": -1,
"minor_number": -1,
"type": 99
},
{
"cgroup_permissions": "m",
"major_number": -1,
"minor_number": -1,
"type": 98
},
{
"cgroup_permissions": "rwm",
"major_number": 5,
"minor_number": 1,
"path": "/dev/console",
"type": 99
},
{
"cgroup_permissions": "rwm",
"major_number": 4,
"path": "/dev/tty0",
"type": 99
},
{
"cgroup_permissions": "rwm",
"major_number": 4,
"minor_number": 1,
"path": "/dev/tty1",
"type": 99
},
{
"cgroup_permissions": "rwm",
"major_number": 136,
"minor_number": -1,
"type": 99
},
{
"cgroup_permissions": "rwm",
"major_number": 5,
"minor_number": 2,
"type": 99
},
{
"cgroup_permissions": "rwm",
"major_number": 10,
"minor_number": 200,
"type": 99
},
{
"cgroup_permissions": "rwm",
"file_mode": 438,
"major_number": 1,
"minor_number": 3,
"path": "/dev/null",
"type": 99
},
{
"cgroup_permissions": "rwm",
"file_mode": 438,
"major_number": 1,
"minor_number": 5,
"path": "/dev/zero",
"type": 99
},
{
"cgroup_permissions": "rwm",
"file_mode": 438,
"major_number": 1,
"minor_number": 7,
"path": "/dev/full",
"type": 99
},
{
"cgroup_permissions": "rwm",
"file_mode": 438,
"major_number": 5,
"path": "/dev/tty",
"type": 99
},
{
"cgroup_permissions": "rwm",
"file_mode": 438,
"major_number": 1,
"minor_number": 9,
"path": "/dev/urandom",
"type": 99
},
{
"cgroup_permissions": "rwm",
"file_mode": 438,
"major_number": 1,
"minor_number": 8,
"path": "/dev/random",
"type": 99
}
],
"name": "docker-koye",
"parent": "docker"
}, },
{ "context": {
"gateway": "172.17.42.1", "mount_label": "",
"context": { "process_label": "",
"prefix": "veth", "restrictions": "true"
"bridge": "docker0"
},
"type": "veth",
"address": "172.17.42.2/16",
"mtu": 1500
}
],
"routes": [
{
"gateway": "172.17.42.1",
"interface_name": "eth0"
}, },
{ "device_nodes": [
"destination": "192.168.0.0/24", {
"interface_name": "eth0" "cgroup_permissions": "rwm",
} "major_number": 10,
], "minor_number": 229,
"capabilities": [ "path": "/dev/fuse",
"MKNOD" "type": 99
], },
"cgroups": { {
"name": "docker-koye", "cgroup_permissions": "rwm",
"parent": "docker" "file_mode": 438,
}, "major_number": 1,
"hostname": "koye", "minor_number": 3,
"environment": [ "path": "/dev/null",
"HOME=/", "type": 99
"PATH=PATH=$PATH:/bin:/usr/bin:/sbin:/usr/sbin", },
"container=docker", {
"TERM=xterm-256color" "cgroup_permissions": "rwm",
], "file_mode": 438,
"tty": true, "major_number": 1,
"mounts": [ "minor_number": 5,
{ "path": "/dev/zero",
"type": "devtmpfs" "type": 99
} },
], {
"device_nodes": [ "cgroup_permissions": "rwm",
{ "file_mode": 438,
"path": "/dev/null", "major_number": 1,
"type": 99, "minor_number": 7,
"major_number": 1, "path": "/dev/full",
"minor_number": 3, "type": 99
"cgroup_permissions": "rwm", },
"file_mode": 438 {
}, "cgroup_permissions": "rwm",
{ "file_mode": 438,
"path": "/dev/zero", "major_number": 5,
"type": 99, "path": "/dev/tty",
"major_number": 1, "type": 99
"minor_number": 5, },
"cgroup_permissions": "rwm", {
"file_mode": 438 "cgroup_permissions": "rwm",
}, "file_mode": 438,
{ "major_number": 1,
"path": "/dev/full", "minor_number": 9,
"type": 99, "path": "/dev/urandom",
"major_number": 1, "type": 99
"minor_number": 7, },
"cgroup_permissions": "rwm", {
"file_mode": 438 "cgroup_permissions": "rwm",
}, "file_mode": 438,
{ "major_number": 1,
"path": "/dev/tty", "minor_number": 8,
"type": 99, "path": "/dev/random",
"major_number": 5, "type": 99
"minor_number": 0, }
"cgroup_permissions": "rwm", ],
"file_mode": 438 "environment": [
}, "HOME=/",
{ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"path": "/dev/urandom", "HOSTNAME=2d388ea3bd92",
"type": 99, "TERM=xterm"
"major_number": 1, ],
"minor_number": 9, "hostname": "koye",
"cgroup_permissions": "rwm", "namespaces": {
"file_mode": 438 "NEWIPC": true,
}, "NEWNET": true,
{ "NEWNS": true,
"path": "/dev/random", "NEWPID": true,
"type": 99, "NEWUTS": true
"major_number": 1, },
"minor_number": 8, "networks": [
"cgroup_permissions": "rwm", {
"file_mode": 438 "address": "127.0.0.1/0",
} "gateway": "localhost",
] "mtu": 1500,
"type": "loopback"
},
{
"address": "172.17.0.101/16",
"context": {
"bridge": "docker0",
"prefix": "veth"
},
"gateway": "172.17.42.1",
"mtu": 1500,
"type": "veth"
}
],
"tty": true
} }