You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we attach the log printer to a container that has already exited, it never gets the "end of log" condition and docker-compose logs doesn't exist (the same is true for up).
In a way, this is related to the problem described in #1115, where logs for containers created by scale are not picked up.
I think we can fix both of those issues by adjusting the way we find containers to log. Instead of sending in a list of containers, we can do something like this:
Related to #1858 (cc @aanand, @mnowster since this just came up)
If we attach the log printer to a container that has already exited, it never gets the "end of log" condition and
docker-compose logsdoesn't exist (the same is true forup).In a way, this is related to the problem described in #1115, where logs for containers created by scale are not picked up.
I think we can fix both of those issues by adjusting the way we find containers to log. Instead of sending in a list of containers, we can do something like this:
up) start the containers