Bind-mount /proc in V2 plugin container.

This allows to pass ARP settings from the host, e.g.:
```
$ sudo docker-runc exec 512af90f342f16dddebc7b7245985d5eb67557e76798b4033eed2ff7adaa4eb5 cat /proc/sys/net/ipv4/neigh/weave/ucast_solicit
3
$ cat /proc/sys/net/ipv4/neigh/weave/ucast_solicit
3
$ cat /proc/sys/net/ipv4/neigh/weave/ucast_solicit
1
$ sudo docker-runc exec 512af90f342f16dddebc7b7245985d5eb67557e76798b4033eed2ff7adaa4eb5 cat /proc/sys/net/ipv4/neigh/weave/ucast_solicit
1
```
This commit is contained in:
Marc CARRE authored and Bryan Boreham committed 2017-04-12 13:05:39 +00:00
1 parent 0c23e47124
commit b048b6deb0
1 file changed
+7 -1
+7 -1
View File
@@ -16,7 +16,13 @@
"CAP_NET_ADMIN"
]
},
"mounts": [],
"mounts": [
{
"destination": "/procmount",
"type": "proc",
"source": "proc"
}
],
"network": {
"type": "host"
},