def list_containers(self):
result = []<EOL>for c in self.d.containers(all=True):<EOL><INDENT>name = None<EOL>names = c.get("<STR_LIT>", None)<EOL>if names:<EOL><INDENT>name = names[<NUM_LIT:0>]<EOL><DEDENT>i = DockerImage(None, identifier=c["<STR_LIT>"])<EOL>cont = DockerContainer(i, c["<STR_LIT>"], name=name)<EOL>inspect_to_container_metadata(cont.metadata, c, i)<EOL>result.append(cont)<EOL><DEDENT>return result<EOL>
List all available docker containers.

Container objects returned from this methods will contain a limited
amount of metadata in property `short_metadata`. These are just a subset
of `.inspect()`, but don't require an API call against dockerd.

:return: collection of instances of :class:`conu.DockerContainer`