Compose: ''docker-compose logs'' does not show logs for new containers

Created on 16 Mar 2015  路  4Comments  路  Source: docker/compose

How to reproduce:

shell 1> docker-compose scale xxx=1
shell 2> docker-compose logs xxx
shell 1> docker-compose scale xxx=2
shell 1> (make xxx service produce logs in second container)

expected: shell 2 must show ''xxx_2 | ..." logs as well

arelogs arescale kinenhancement

Most helpful comment

This still doesn鈥檛 work for containers that crashed and automatically restarted.

All 4 comments

Note: this issues applies to:

  • containers created by scale
  • containers restarted by a restart policy
  • containers manually started or restarted by a user

I have a proposal in #1866 that should make this work

This still doesn鈥檛 work for containers that crashed and automatically restarted.

I'm facing this same issue as well, any update?

+1

Was this page helpful?
0 / 5 - 0 ratings