weaveworks-experiments / docker-plugin

Deprecated, part of Weave Net now
https://github.com/weaveworks/weave
Apache License 2.0
33 stars 9 forks source link

Passing weaver flags #8

Closed errordeveloper closed 9 years ago

errordeveloper commented 9 years ago

Currently plugin only passes peers and any other flags are treated as unrecognised. One good example of flag that someone is quite likely to use is -initpeercount N.

squaremo commented 9 years ago

Here it would be nice to have proper unix-y behaviour from the flag parser; i.e., to be able to partition arguments for the weave container with a --.

squaremo commented 9 years ago

After #13, you can pass these as $WEAVE_ARGS, or ignore the script and start weave and the plugin with your own command lines.