-
Notifications
You must be signed in to change notification settings - Fork 670
'weave env' became less useful when we stopped using tcp socket #1186
Comments
IMO, our docs should never ever show |
And maybe stick a prominent warning in the docs. |
@bboreham isn't this just down to the fact that permission of |
@bboreham also, in the second part, I am not sure why you put |
@rade I like this approach, although there is still a separate issue with |
@bboreham I don't think @bboreham's example is accurate. I cannot think of a situation where that command sequence would have worked previously and now doesn't. The proxy will only choose to listen on a domain socket if that is how the user is interacting with docker. If they were able to do so w/o using |
I think the following would have worked previously, but now doesn't?
|
document how to run weave when docker access is root-only Closes #1186.
This sequence of commands (found in the README) will now fail:
If you then try to fix the problem by running as root,
the third line runs the container without going via the proxy and hence without attaching to weave.
The reason is that sudo does not pick up the environment variable from
weave env
.The text was updated successfully, but these errors were encountered: