-
Notifications
You must be signed in to change notification settings - Fork 670
launching proxy fails with non-default logging driver #1453
Comments
So there are two issues here: 1) the proxy startup (as well as (2) is a usability nightmare. We introduced these very specific instructions precisely because docker newbies didn't know what to do when presented with "consult the container logs". Looks like modern docker has become a lot less newbie friendly, and I am afraid we are going to have to folllow suit :( I have no idea what to do about (1). Since the proxy runs in the host network namespace we really don't want to make it listen on some fixed port for 'control' messages. |
We use the logs for two things: a) to wait for the proxy to start, and b) to get back the proxy's listen address. b) is easy, as we could stash it somewhere else (env var, labels, whatever) |
We could have a fifo (or unix socket, maybe) inside the weaveproxy container, exec in, and check that. |
Note that the proxy doesn't actually fail to start, despite what the message says. |
I've tested it on latest CoreOS 808.0.0 (alpha) that ships with Docker 1.8.2 and runs it with
--log-driver=journald
and got thiswhere
docker logs weaveproxy
says:The text was updated successfully, but these errors were encountered: