def get_signal_number_from_exit_code(code):
    """Convert container exit code to signal number.

    :param code: container exit code
    :type code: int
    :return: signal number or None (if *code* does not represent a signal)
    :rtype: int or NoneType
    """
    if code >= 128:
        return code - 128
    return None
