def list_containers(self, image=None, all=True):
        try:
            result = self.connection.request(
                ROOT_URL + "v1/pods").object
        except Exception as exc:
            errno = getattr(exc, 'errno', None)
            if errno == 111:
                raise KubernetesException(
                    errno,
                    'Make sure kube host is accessible'
                    'and the API port is correct')
            raise

        pods = [self._to_pod(value) for value in result['items']]
        containers = []
        for pod in pods:
            containers.extend(pod.containers)
        return containers
List the deployed container images
dataset/ETHPy150Open apache/libcloud/libcloud/container/drivers/kubernetes.py/KubernetesContainerDriver.list_containers