docker-net-dhcp/config.json

47 lines
1.0 KiB
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": [ "/opt/plugin/launch.sh" ],
"workdir": "/opt/plugin",
"network": {
"type": "host"
},
"mounts": [
{
"source": "/var/run/docker.sock",
"destination": "/run/docker.sock",
"type": "bind",
"options": [
"bind"
]
2019-08-25 11:48:03 +00:00
},
{
"source": "/var/run/docker/netns",
"destination": "/var/run/docker/netns",
"type": "bind",
"options": [
"bind"
]
}
],
2019-08-22 14:34:10 +00:00
"linux": {
"capabilities": [
"CAP_NET_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"
}
]
}