2019-08-22 14:34:10 +00:00
|
|
|
{
|
|
|
|
"description": "Docker host bridge DHCP networking",
|
|
|
|
"interface": {
|
|
|
|
"socket": "net-dhcp.sock",
|
|
|
|
"types": [
|
2019-08-23 13:26:58 +00:00
|
|
|
"docker.networkdriver/1.0"
|
2019-08-22 14:34:10 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"entrypoint": [ "/opt/plugin/launch.sh" ],
|
|
|
|
"workdir": "/opt/plugin",
|
|
|
|
"network": {
|
|
|
|
"type": "host"
|
|
|
|
},
|
2019-08-23 11:55:35 +00:00
|
|
|
"mounts": [
|
|
|
|
{
|
|
|
|
"source": "/var/run/docker.sock",
|
|
|
|
"destination": "/run/docker.sock",
|
2019-08-23 13:26:58 +00:00
|
|
|
"type": "bind",
|
|
|
|
"options": [
|
|
|
|
"bind"
|
|
|
|
]
|
2019-08-23 11:55:35 +00:00
|
|
|
}
|
|
|
|
],
|
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"
|
2019-08-22 14:34:10 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"env": [
|
|
|
|
{
|
|
|
|
"name": "GUNICORN_OPTS",
|
|
|
|
"settable": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"value": "--log-level DEBUG --log-file /var/log/net-dhcp.log"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|