docker-net-dhcp/config.json
Jack O'Sullivan a27b20e87d Add CAP_SYS_PTRACE to config
NOTE: This is needed to enter namespaces for other users!
2021-06-11 01:46:03 +01:00

51 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"
]
},
{
"description": "Log level",
"name": "AWAIT_TIMEOUT",
"value": "10s",
"settable": [
"value"
]
}
],
"workdir": "/",
"network": {
"type": "host"
},
"pidhost": true,
"mounts": [
{
"source": "/var/run/docker.sock",
"destination": "/run/docker.sock",
"type": "bind",
"options": [
"bind"
]
}
],
"linux": {
"capabilities": [
"CAP_NET_ADMIN",
"CAP_SYS_ADMIN",
"CAP_SYS_PTRACE"
]
}
}