What should you do with the nouveau driver before installing NVIDIA drivers?
Why B is the answer
Disable it
The open-source driver conflicts with the NVIDIA driver.
In detail
- The open-source driver conflicts with the NVIDIA driver.
- The two conflict.
Use case
An illustrative scenario, not a real incident.
A driver install fails, because the open-source nouveau driver is loaded. Disabling it fixes that.
See it in different ways
flowchart TD A["NVIDIA driver on the host"] --> B["NVIDIA Container Toolkit"] B --> C["Docker runtime configured"] C --> D["docker run with --gpus"]
sequenceDiagram participant D as Host driver participant T as Container Toolkit participant C as Docker D->>T: Exposes the GPUs T->>C: Configures the runtime C->>C: docker run with --gpus all
flowchart LR S0["Disable nouveau"] --> S1["Reboot"] --> S2["Install NVIDIA driver"]
Key point: Disable nouveau first.
Why the other options are wrong
- A. Run it alongside
- They cannot both drive the GPU.
- C. Update it
- Updating does not remove the conflict.
- D. Pin it
- Pinning keeps the conflict.

