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
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
With docker-compose up, attaching to a new container misses the initial log lines for that container.
While testing #8859, I noticed that when a container was stopped, removed, then recreated, the first few log lines were missing.
Steps to reproduce the issue:
docker-compose up
docker-compose rm -fs bbb
docker-compose up -d bbb
- the first few lines of the logs will not be shownSteps 2 and 3 can be also replaced by
docker-compose up -d --scale bbb=1
Describe the results you received:
The logs from
docker-compose up
will look something like this:Describe the results you expected:
The logs should contain a second instance of "Start bbb" and "1 bbb".
Note that
docker-compose logs -f
shows the full logs with no missing lines.Additional information you deem important (e.g. issue happens only occasionally):
This is not yet reproducible in v2.1.0, because of #8747, but can be reproduced in the current v2 branch. Hence the non-release version number below.
Output of
docker compose version
:Output of
docker info
:Additional environment details:
The text was updated successfully, but these errors were encountered: