docker-net-dhcp/config.json
2021-06-08 21:38:22 +01:00

49 lines
1.1 KiB
JSON

{
"description": "Docker host bridge DHCP networking",
"interface": {
"socket": "net-dhcp.sock",
"types": [
"docker.networkdriver/1.0"
]
},
"entrypoint": ["/usr/sbin/net-dhcp", "-logfile", "/var/log/net-dhcp.log"],
"env": [
{
"description": "Log level",
"name": "LOG_LEVEL",
"value": "info",
"settable": [
"value"
]
}
],
"workdir": "/",
"network": {
"type": "host"
},
"mounts": [
{
"source": "/var/run/docker.sock",
"destination": "/run/docker.sock",
"type": "bind",
"options": [
"bind"
]
},
{
"source": "/var/run/docker/netns",
"destination": "/run/docker/netns",
"type": "bind",
"options": [
"bind"
]
}
],
"linux": {
"capabilities": [
"CAP_NET_ADMIN",
"CAP_SYS_ADMIN"
]
}
}