def container_search(self, query, across_collections=False):
query = query.lower().strip('<STR_LIT:/>')<EOL>q = parse_image_name(remove_uri(query), defaults=False)<EOL>if q['<STR_LIT>'] is not None:<EOL><INDENT>if across_collections is True:<EOL><INDENT>url = '<STR_LIT>' % (self.base, q['<STR_LIT:image>'], q['<STR_LIT>'])<EOL><DEDENT>else:<EOL><INDENT>url = '<STR_LIT>' % (self.base, q['<STR_LIT>'], q['<STR_LIT:image>'], q['<STR_LIT>'])<EOL><DEDENT><DEDENT>elif q['<STR_LIT>'] is None: <EOL><INDENT>if across_collections is True:<EOL><INDENT>url = '<STR_LIT>' % (self.base, q['<STR_LIT:image>'])<EOL><DEDENT>else:<EOL><INDENT>url = '<STR_LIT>' % (self.base, q['<STR_LIT>'], q['<STR_LIT:image>'])<EOL><DEDENT><DEDENT>result = self._get(url)<EOL>if "<STR_LIT>" in result:<EOL><INDENT>result = result['<STR_LIT>']<EOL><DEDENT>if len(result) == <NUM_LIT:0>:<EOL><INDENT>bot.info("<STR_LIT>")<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>bot.info("<STR_LIT>" %query)<EOL>rows = []<EOL>for c in result:        <EOL><INDENT>rows.append([ '<STR_LIT>' %(c['<STR_LIT>'], c['<STR_LIT:name>']),<EOL>c['<STR_LIT>'] ])<EOL><DEDENT>bot.table(rows)<EOL>return rows<EOL>
search for a specific container. If across collections is False,
    the query is parsed as a full container name and a specific container
    is returned. If across_collections is True, the container is searched
    for across collections. If across collections is True, details are
    not shown