ps only lists running containers
This commit is contained in:
parent
64253a8290
commit
4cc906fcd2
1 changed files with 2 additions and 3 deletions
|
|
@ -77,9 +77,8 @@ class TopLevelCommand(Command):
|
|||
|
||||
Usage: ps
|
||||
"""
|
||||
for service in self.service_collection:
|
||||
for container in service.containers:
|
||||
print get_container_name(container)
|
||||
for container in self._get_containers(all=False):
|
||||
print get_container_name(container)
|
||||
|
||||
def run(self, options):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue