def get_containers_by_name(self, name):
        """
        get all task which relative with task name
        :param name: :class:`str`, task name
        :return: :class:`list`, container list
        """
        code, containers = self.get_containers()

        if code != httplib.OK:
            return []

        return [container for container in containers if
                any(map(lambda x: x.startswith(name), container.Names))]