docker-net-dhcp/config.json

34 lines
740 B
JSON
Raw Normal View History

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