@classmethod
    def search(cls, keyword, failure_cb=None):
        docker = Popen(['/usr/bin/env', 'docker', 'search', keyword], stdout=PIPE, stderr=PIPE)
        if docker.wait() != 0 and failure_cb is not None:
            failure_cb(docker.returncode, docker.stderr.read())
        else:
            return (cls.DOCKER_SEARCH_TAG_REGEX.match(line).group('tag') for line in docker.stdout.readlines()[1:])
Closes any views, formula output instances, modelDocument(s), and dereferences all memory used
dataset/ETHPy150Open codalab/codalab-cli/codalab/lib/docker_util.py/Docker.search--crossover with--dataset/ETHPy150Open Arelle/Arelle/arelle/ModelXbrl.py/ModelXbrl.close