Don't repeat '--privileged --net=host' docker options

This commit is contained in:
Bryan Boreham committed 2017-03-10 11:55:22 +00:00
1 parent bec2470ddf
commit 5860332e49
1 file changed
+1 -1
+1 -1
View File
@@ -499,7 +499,7 @@ util_op() {
if command_exists weaveutil ; then
weaveutil "$@"
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 "$@"
fi
}