2019-08-22 14:34:10 +00:00
|
|
|
{
|
|
|
|
"description": "Docker host bridge DHCP networking",
|
|
|
|
"interface": {
|
|
|
|
"socket": "net-dhcp.sock",
|
|
|
|
"types": [
|
2019-08-23 13:26:58 +00:00
|
|
|
"docker.networkdriver/1.0"
|
2019-08-22 14:34:10 +00:00
|
|
|
]
|
|
|
|
},
|
2021-06-07 19:55:45 +00:00
|
|
|
"entrypoint": ["/usr/sbin/net-dhcp", "-logfile", "/var/log/net-dhcp.log"],
|
|
|
|
"env": [
|
|
|
|
{
|
|
|
|
"description": "Log level",
|
|
|
|
"name": "LOG_LEVEL",
|
|
|
|
"value": "info",
|
|
|
|
"settable": [
|
|
|
|
"value"
|
|
|
|
]
|
2021-06-10 22:45:28 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Log level",
|
|
|
|
"name": "AWAIT_TIMEOUT",
|
|
|
|
"value": "10s",
|
|
|
|
"settable": [
|
|
|
|
"value"
|
|
|
|
]
|
2021-06-07 19:55:45 +00:00
|
|
|
}
|
|
|
|
],
|
2020-05-18 16:39:32 +00:00
|
|
|
"workdir": "/",
|
2019-08-22 14:34:10 +00:00
|
|
|
"network": {
|
|
|
|
"type": "host"
|
|
|
|
},
|
2021-06-10 22:03:46 +00:00
|
|
|
"pidhost": true,
|
2019-08-23 11:55:35 +00:00
|
|
|
"mounts": [
|
|
|
|
{
|
|
|
|
"source": "/var/run/docker.sock",
|
|
|
|
"destination": "/run/docker.sock",
|
2019-08-23 13:26:58 +00:00
|
|
|
"type": "bind",
|
|
|
|
"options": [
|
|
|
|
"bind"
|
|
|
|
]
|
2019-08-23 11:55:35 +00:00
|
|
|
}
|
|
|
|
],
|
2019-08-22 14:34:10 +00:00
|
|
|
"linux": {
|
|
|
|
"capabilities": [
|
2021-06-08 20:38:22 +00:00
|
|
|
"CAP_NET_ADMIN",
|
2021-06-11 00:46:03 +00:00
|
|
|
"CAP_SYS_ADMIN",
|
|
|
|
"CAP_SYS_PTRACE"
|
2019-08-22 14:34:10 +00:00
|
|
|
]
|
2019-09-21 12:51:56 +00:00
|
|
|
}
|
2019-08-22 14:34:10 +00:00
|
|
|
}
|