pkg/libcontainer/container.json

52 lines
1.2 KiB
JSON
Raw Normal View History

{
"hostname": "koye",
"tty": true,
"environment": [
"HOME=/",
"PATH=PATH=$PATH:/bin:/usr/bin:/sbin:/usr/sbin",
"container=docker",
"TERM=xterm-256color"
],
"namespaces": [
{ "key": "NEWIPC" },
{ "key": "NEWNS" },
{ "key": "NEWPID" },
{ "key": "NEWUTS" },
{ "key": "NEWNET" }
],
"capabilities_mask": [
{ "key": "SETPCAP" },
{ "key": "SYS_MODULE" },
{ "key": "SYS_RAWIO" },
{ "key": "SYS_PACCT" },
{ "key": "SYS_ADMIN" },
{ "key": "SYS_NICE" },
{ "key": "SYS_RESOURCE" },
{ "key": "SYS_TIME" },
{ "key": "SYS_TTY_CONFIG" },
{ "key": "MKNOD" },
{ "key": "AUDIT_WRITE" },
{ "key": "AUDIT_CONTROL" },
{ "key": "MAC_OVERRIDE" },
{ "key": "MAC_ADMIN" },
{ "key": "NET_ADMIN" }
],
"networks": [{
"type": "veth",
"context": {
"bridge": "docker0",
"prefix": "dock"
},
"address": "172.17.0.100/16",
"gateway": "172.17.42.1",
"mtu": 1500
}
],
"cgroups": {
"name": "docker-koye",
"parent": "docker",
"memory": 5248000,
"cpu_shares": 1024
}
}