mirror of
https://github.com/devplayer0/docker-net-dhcp
synced 2024-10-30 09:20:28 +00:00
34 lines
777 B
JSON
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"
|
|
]
|
|
}
|
|
}
|