run weave in privileged container
...since on selinux (and possibly others) we encounter a "bind: permission denied" error instead, most likely because weave is attempting to bind a raw ip socket, which is a restricted operation on those systems. Fixes #7
This commit is contained in:
1 parent
e5df6ee414
commit
565856eaba
1 file changed
+1
-1
+1
-1
@@ -33,7 +33,7 @@ MACADDR=$(</sys/class/net/$BRIDGE/address)
|
||||
|
||||
case "$COMMAND" in
|
||||
launch)
|
||||
CONTAINER=$(docker run -d --name=weave -p 6783:6783/tcp -p 6783:6783/udp $WEAVE_DOCKER_ARGS zettio/weave -name $MACADDR "$@")
|
||||
CONTAINER=$(docker run --privileged -d --name=weave -p 6783:6783/tcp -p 6783:6783/udp $WEAVE_DOCKER_ARGS zettio/weave -name $MACADDR "$@")
|
||||
IFACE=eth0
|
||||
;;
|
||||
run)
|
||||
|
||||
Reference in new issue
Block a user