Update README to reflect distribution support
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
This commit is contained in:
parent
b44509f281
commit
166fa7ffb2
|
@ -22,7 +22,7 @@ If you are an existing user of the nvidia-docker2 packages, review the instructi
|
|||
|
||||
For first-time users of Docker 19.03 and GPUs, continue with the instructions for getting started below.
|
||||
|
||||
### Ubuntu 16.04/18.04, Debian Jessie/Stretch/Buster
|
||||
### Ubuntu 16.04/18.04/20.04, Debian Jessie/Stretch/Buster
|
||||
```sh
|
||||
# Add the package repositories
|
||||
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
|
||||
|
@ -33,7 +33,7 @@ sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
|
|||
sudo systemctl restart docker
|
||||
```
|
||||
|
||||
#### CentOS 7 (docker-ce), RHEL 7.4/7.5 (docker-ce), Amazon Linux 1/2
|
||||
#### CentOS 7.X/8.X (docker-ce), RHEL 7.X/8.X (docker-ce), Amazon Linux 1/2
|
||||
```
|
||||
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
|
||||
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.repo | sudo tee /etc/yum.repos.d/nvidia-docker.repo
|
||||
|
|
Loading…
Reference in a new issue