'List the deployed container images
:param image: Filter to containers with a certain image
:type  image: :class:`libcloud.container.base.ContainerImage`
:param all: Show all container (including stopped ones)
:type  all: ``bool``
:rtype: ``list`` of :class:`libcloud.container.base.Container`'

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    accessibleand    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
