Don't repeat '--privileged --net=host' docker options
This commit is contained in:
1 parent
bec2470ddf
commit
5860332e49
1 file changed
+1
-1
@@ -499,7 +499,7 @@ util_op() {
|
|||||||
if command_exists weaveutil ; then
|
if command_exists weaveutil ; then
|
||||||
weaveutil "$@"
|
weaveutil "$@"
|
||||||
else
|
else
|
||||||
docker run --rm --privileged --net=host --pid=host $(docker_sock_options) \
|
docker run --rm --pid=host $(docker_run_options) \
|
||||||
--entrypoint=/usr/bin/weaveutil $EXEC_IMAGE "$@"
|
--entrypoint=/usr/bin/weaveutil $EXEC_IMAGE "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user