mirror of
https://github.com/docker/compose.git
synced 2026-07-10 10:14:13 +00:00
parent
a5b13f369d
commit
c2783d6f88
1 changed files with 2 additions and 1 deletions
|
|
@ -721,7 +721,8 @@ class TopLevelCommand(object):
|
|||
|
||||
if options['--all']:
|
||||
containers = sorted(self.project.containers(service_names=options['SERVICE'],
|
||||
one_off=OneOffFilter.include, stopped=True))
|
||||
one_off=OneOffFilter.include, stopped=True),
|
||||
key=attrgetter('name'))
|
||||
else:
|
||||
containers = sorted(
|
||||
self.project.containers(service_names=options['SERVICE'], stopped=True) +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue