Initial commit
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"description": "Docker host bridge DHCP networking",
|
||||
"interface": {
|
||||
"socket": "net-dhcp.sock",
|
||||
"types": [
|
||||
"docker.networkdriver/1.0"
|
||||
]
|
||||
},
|
||||
"entrypoint": [ "python", "-m", "net_dhcp" ],
|
||||
"workdir": "/opt/plugin",
|
||||
"network": {
|
||||
"type": "host"
|
||||
},
|
||||
"mounts": [
|
||||
{
|
||||
"source": "/var/run/docker.sock",
|
||||
"destination": "/run/docker.sock",
|
||||
"type": "bind",
|
||||
"options": [
|
||||
"bind"
|
||||
]
|
||||
}
|
||||
],
|
||||
"pidhost": true,
|
||||
"linux": {
|
||||
"capabilities": [
|
||||
"CAP_NET_ADMIN",
|
||||
"CAP_SYS_ADMIN",
|
||||
"CAP_SYS_PTRACE",
|
||||
"CAP_SYS_RESOURCE"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user