mirror of
https://github.com/devplayer0/docker-net-dhcp
synced 2024-11-01 03:20:21 +00:00
49 lines
1.1 KiB
JSON
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"
|
|
]
|
|
}
|
|
}
|