bb59129b2f
Pass the container's command via args Remove execin function and just look for an existing nspid file to join the namespace Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
38 lines
775 B
JSON
38 lines
775 B
JSON
{
|
|
"hostname": "koye",
|
|
"environment": [
|
|
"HOME=/",
|
|
"PATH=PATH=$PATH:/bin:/usr/bin:/sbin:/usr/sbin",
|
|
"container=docker",
|
|
"TERM=xterm-256color"
|
|
],
|
|
"namespaces": [
|
|
"NEWIPC",
|
|
"NEWNS",
|
|
"NEWPID",
|
|
"NEWUTS",
|
|
"NEWNET"
|
|
],
|
|
"capabilities": [
|
|
"SETPCAP",
|
|
"SYS_MODULE",
|
|
"SYS_RAWIO",
|
|
"SYS_PACCT",
|
|
"SYS_ADMIN",
|
|
"SYS_NICE",
|
|
"SYS_RESOURCE",
|
|
"SYS_TIME",
|
|
"SYS_TTY_CONFIG",
|
|
"MKNOD",
|
|
"AUDIT_WRITE",
|
|
"AUDIT_CONTROL",
|
|
"MAC_OVERRIDE",
|
|
"MAC_ADMIN"
|
|
],
|
|
"network": {
|
|
"ip": "172.17.0.100/16",
|
|
"gateway": "172.17.42.1",
|
|
"bridge": "docker0",
|
|
"mtu": 1500
|
|
}
|
|
}
|