mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
'fig logs' shows output for stopped containers
This commit is contained in:
parent
f448a841c5
commit
b92e998929
@ -113,7 +113,7 @@ class TopLevelCommand(Command):
|
||||
|
||||
Usage: logs [SERVICE...]
|
||||
"""
|
||||
containers = self.project.containers(service_names=options['SERVICE'], stopped=False)
|
||||
containers = self.project.containers(service_names=options['SERVICE'], stopped=True)
|
||||
print("Attaching to", list_containers(containers))
|
||||
LogPrinter(containers, attach_params={'logs': True}).run()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user