docker-net-dhcp/config.json
Jack O'Sullivan 0711a747bd Increase file descriptor limit
TODO: Fix this hack
2019-09-21 23:37:48 +01:00

34 lines
740 B
JSON

{
"description": "Docker host bridge DHCP networking",
"interface": {
"socket": "net-dhcp.sock",
"types": [
"docker.networkdriver/1.0"
]
},
"entrypoint": [ "python", "-m", "net_dhcp" ],
"workdir": "/opt/plugin",
"network": {
"type": "host"
},
"mounts": [
{
"source": "/var/run/docker.sock",
"destination": "/run/docker.sock",
"type": "bind",
"options": [
"bind"
]
}
],
"pidhost": true,
"linux": {
"capabilities": [
"CAP_NET_ADMIN",
"CAP_SYS_ADMIN",
"CAP_SYS_PTRACE",
"CAP_SYS_RESOURCE"
]
}
}