docker-net-dhcp/config.json
2021-06-07 19:03:09 +01:00

34 lines
777 B
JSON

{
"description": "Docker host bridge DHCP networking",
"interface": {
"socket": "net-dhcp.sock",
"types": [
"docker.networkdriver/1.0"
]
},
"entrypoint": ["/usr/sbin/net-dhcp", "-log", "trace", "-logfile", "/var/log/net-dhcp.log"],
"workdir": "/",
"network": {
"type": "host"
},
"mounts": [
{
"source": "/var/run/docker.sock",
"destination": "/run/docker.sock",
"type": "bind",
"options": [
"bind"
]
}
],
"pidhost": false,
"linux": {
"capabilities": [
"CAP_NET_ADMIN",
"CAP_SYS_ADMIN",
"CAP_SYS_PTRACE",
"CAP_SYS_RESOURCE"
]
}
}