-
Notifications
You must be signed in to change notification settings - Fork 673
ability to start weave-networked containers in foreground, and auto-remove them #251
Comments
One quick hack here would be to run Looking at the docker API, there's actually no such thing as This suggests that, when the correct options are given to Can't see how we'd do all that in a shell script though. |
Actually, We'd have to do something similar in weave, i.e. create, attach and start streaming input/output, start, and then configure container networking. |
+1, will make life a whole lot easier for CoreOS / systemd |
I'd like to note that there one additional limitation of Docker that comes to play:
|
weave run
operate in foreground mode by default, just like docker run
It's somewhat inconvenient, and inconsistent with established docker behaviour, that
weave run
always detaches from the container. Ideally we'd like to mirrordocker run
behaviour, i.e. attach unless-d
is specified.The reason we always detach is that we need to perform most of the weave container networking configuration after the container has started (until #47 is resolved).
The text was updated successfully, but these errors were encountered: