Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions container-toolkit/install-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@

### Prerequisites

Install the NVIDIA GPU driver for your Linux distribution.
1. Install the NVIDIA GPU driver for your Linux distribution.
NVIDIA recommends installing the driver by using the package manager for your distribution.

For information about installing the driver with a package manager, refer to
the [_NVIDIA Driver Installation Quickstart Guide_](https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html).
Alternatively, you can install the driver by [downloading](https://www.nvidia.com/en-us/drivers/) a `.run` installer.


Alternatively, you can install the driver by downloading a `.run` installer.
Refer to the NVIDIA [Official Drivers](https://www.nvidia.com/Download/index.aspx?lang=en-us) page.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why we got ride of this link? I dont remember if this has come up before in a previous comments. thanks

Copy link
Contributor Author

@jgehrcke jgehrcke Feb 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No removal. I replaced it with a more modern URL. You will notice in your browser that the old URL redirects to /en-us/drivers.

Personally, I like to look at changes like this in the rendered view.

We should also work towards using a concept often called "semantic line breaks" to keep the markdown source diff better reviewable.

2. Read [this section](./supported-platforms.md) about platform support.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Should this be first?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 i think it should be first as well

and an additional nit to embed the text into the link, so something like
Make sure you are using a [supported platform](./supported-platforms.md).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Should this be first?

Yes, I was hoping for that feedback!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something like Make sure you are using a supported platform.

In general I like this approach. Here I opted for a subtly different approach because:

It's really a section about platform support in general, and we precisely now want to be mindful to not communicate something in the lines of "do not continue if you do not use a strictly supported platform" :).

Related: #62 and e.g. NVIDIA/nvidia-container-toolkit#482 (comment).


### Installing with Apt
### Debian-based distributions (Ubuntu):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this read as if we're only targetting Ubuntu?

Suggested change
### Debian-based distributions (Ubuntu):
### Debian-based distributions (e.g. Ubuntu):

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I forgot to add ", ..." like I did below. In this case I think I like this a little better than "e.g."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now I have clarity: we don't need generic enumerations. In these headings, we want to make sure we list all those distros that are in the table of "supported platforms". That's all we need. Pushed a commit.


1. Configure the production repository:

Expand Down Expand Up @@ -53,7 +53,7 @@ Refer to the NVIDIA [Official Drivers](https://www.nvidia.com/Download/index.asp
$ sudo apt-get install -y nvidia-container-toolkit
```

### Installing with Yum or Dnf
### RPM-based distributions (RHEL/CentOS, Fedora, Amazon Linux, ...):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### RPM-based distributions (RHEL/CentOS, Fedora, Amazon Linux, ...):
### RPM-based distributions (e.g. RHEL/CentOS, Fedora, Amazon Linux, ...):

Copy link
Contributor Author

@jgehrcke jgehrcke Feb 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started to overthink this. Removed the "RPM-based distributions" again.

Pushed a new commit, let's see how this looks when its rendered! :) I like to first-class the distribution names instead of the tooling names (that was my main angle here). There's no perfect solution though.

Some inspiration from..

chrome

image

vscode

image

gcloud cli

image

signal

image


1. Configure the production repository:

Expand All @@ -74,7 +74,7 @@ Refer to the NVIDIA [Official Drivers](https://www.nvidia.com/Download/index.asp
$ sudo yum install -y nvidia-container-toolkit
```

### Installing with Zypper
### OpenSUSE/SLE:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a little strange that this is also RPM-based but has its own section. Should we call that out above or have subsections for the two package manager types?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes you have a strong point here. Will think about that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


1. Configure the production repository:

Expand Down