Merge pull request #3080 from weaveworks/issues/plugin-v2-modprobe

net-plugin: bind mount /lib/modules
This commit is contained in:
Bryan Boreham authored and GitHub committed 2017-08-15 12:05:33 +01:00
commit a6cd456f8b
1 file changed
+8 -1
+8 -1
View File
@@ -13,7 +13,8 @@
"linux": {
"capabilities": [
"CAP_SYS_ADMIN",
"CAP_NET_ADMIN"
"CAP_NET_ADMIN",
"CAP_SYS_MODULE"
]
},
"mounts": [
@@ -40,6 +41,12 @@
"source": "/etc/",
"type": "bind",
"options": ["rbind"]
},
{
"destination": "/lib/modules/",
"source": "/lib/modules/",
"type": "bind",
"options": ["rbind"]
}
],
"env": [