-
Notifications
You must be signed in to change notification settings - Fork 672
don't wrap docker #230
Comments
The main challenge here is that weave needs to perform a whole bunch of configuration work to hook containers into the weave network and weavedns. How can it do that when not invoked directly? Conceivably we could start a daemon that listens for docker events - in particular container start events - and then performs the necessary configuration. Similar to what the weavedns updater does. Ideally we'd want to run that daemon as a container, for ease of deployment and lifecycle management. This is tricky though, since we need to perform operations on the host and inside the container, but my experiments indicate that running a container with That doesn't get us out of the woods though...
|
The docker proxy proposed in #47 (comment) can take care of 1+2. |
Weave currently 'wraps' docker, i.e. many weave commands end up invoking docker commands. This is especially problematic for starting application containers, i.e.
weave run
.The principal issue is that weave application containers cannot be started via the docker API. A number of tools use that API, and composing weave with those tools at present is difficult/impossible.
The text was updated successfully, but these errors were encountered: