adding work around to the proxy /var/run warning

This commit is contained in:
Paul Bellamy committed 2015-11-17 09:40:34 +00:00
1 parent d80e72dfcd
commit e80a83b30b
1 file changed
+1
+1
View File
@@ -1278,6 +1278,7 @@ host_arg() {
fi
if [ "$host" = "/var/run" ]; then
echo "WARNING: When launching the proxy, unix sockets directly in /var/run can lead to a bug with net namespace cleanup." >&2
echo "To work around this, put the unix socket in a subdirectory of /var/run, and symlink it into place." >&2
echo "For more info, see https://github.com/weaveworks/weave/issues/1455" >&2
fi
PROXY_VOLUMES="$PROXY_VOLUMES -v $host:/host$host"