def _lookup_parameter(self, container, key, common_type=None):
        """
        Lookup the `docker run` keyword from the 'container.docker.parameters' list
        :param container: The container in question
        :param key: The key name we're looking up
        :param is_list: if the response is a list of items
        """
        if not container.get('container', {}).get('docker', {}).get('parameters'):
            return
        params = container['container']['docker']['parameters']

        # Super hacky - log-opt is a sub option of the logging directive of everything else
        if key == 'log-driver':
            return [
                p
                for p
                in params
                if p['key'] in ['log-opt', 'log-driver']]

        matching_params = [
            p['value']
            for p
            in params
            if p['key'] == key]

        if matching_params:
            if common_type == list:
                return matching_params
            else:
                return matching_params[0]
Lookup the `docker run` keyword from the 'container.docker.parameters' list
        :param container: The container in question
        :param key: The key name we're looking up
        :param is_list: if the response is a list of items