The NVIDIA Container Toolkit allows users to build and run GPU accelerated Docker containers. The toolkit includes a container runtime library and utilities to automatically configure containers to leverage NVIDIA GPUs. Full documentation and frequently asked questions are available on the repository wiki.
Today we focus on how to install NVIDIA Container Toolkit on Linux mint 19.3.
lwk@qwfys:~$ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
[sudo] password for lwk:
OK
lwk@qwfys:~$ curl -s -L https://nvidia.github.io/nvidia-docker/ubuntu18.04/nvidia-docker.list | \
> sudo tee /etc/apt/sources.list.d/nvidia-docker.list
[sudo] password for lwk:
deb https://nvidia.github.io/libnvidia-container/ubuntu18.04/$(ARCH) /
deb https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/$(ARCH) /
deb https://nvidia.github.io/nvidia-docker/ubuntu18.04/$(ARCH) /
lwk@qwfys:~$ ll /etc/apt/sources.list.d/
total 28
drwxr-xr-x 2 root root 4096 Mar 21 18:16 ./
drwxr-xr-x 7 root root 4096 Mar 21 17:59 ../
-rw-r--r-- 1 root root 91 Mar 13 08:24 docker-ce.list
-rw-r--r-- 1 root root 110 Mar 10 10:32 nodesource.list
-rw-r--r-- 1 root root 212 Mar 21 18:16 nvidia-docker.list
-rw-r--r-- 1 root root 489 Dec 23 20:31 official-package-repositories.list
-rw-r--r-- 1 root root 0 Dec 23 21:08 sogoupinyin.list
-rw-r--r-- 1 root root 85 Dec 23 21:54 virtualbox.list
lwk@qwfys:~$
lwk@qwfys:~$ cat /etc/apt/sources.list.d/nvidia-docker.list
deb https://nvidia.github.io/libnvidia-container/ubuntu18.04/$(ARCH) /
deb https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/$(ARCH) /
deb https://nvidia.github.io/nvidia-docker/ubuntu18.04/$(ARCH) /
lwk@qwfys:~$ apt update
Ign:1 http://mirrors.ustc.edu.cn/linuxmint tricia InRelease
Hit:2 http://mirrors.ustc.edu.cn/ubuntu bionic InRelease
Hit:3 https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu bionic InRelease
Hit:4 http://mirrors.ustc.edu.cn/ubuntu bionic-updates InRelease
Hit:5 http://mirrors.ustc.edu.cn/ubuntu bionic-backports InRelease
Hit:6 https://mirrors.tuna.tsinghua.edu.cn/virtualbox/apt bionic InRelease
Hit:7 http://mirrors.ustc.edu.cn/linuxmint tricia Release
Hit:8 https://deb.nodesource.com/node_12.x bionic InRelease
Hit:9 http://archive.canonical.com/ubuntu bionic InRelease
Get:10 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:12 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64 InRelease [1,106 B]
Get:13 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 InRelease [1,103 B]
Get:14 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 InRelease [1,096 B]
Get:15 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64 Packages [6,688 B]
Get:16 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 Packages [4,712 B]
Get:17 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 Packages [3,864 B]
Fetched 107 kB in 6s (18.4 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
lwk@qwfys:~$
lwk@qwfys:~$ apt list |grep nvidia
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
boinc-client-nvidia-cuda/bionic-updates 7.9.3+dfsg-5ubuntu2 amd64
bumblebee-nvidia/bionic 3.2.1-17 amd64
hashcat-nvidia/bionic,bionic 20170728 all
libnvidia-cfg1-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
libnvidia-cfg1-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-cfg1-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-cfg1-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
libnvidia-common-390/bionic-updates,bionic-updates 390.116-0ubuntu0.18.04.3 all
libnvidia-common-418/bionic-updates,bionic-updates 430.50-0ubuntu0.18.04.2 all
libnvidia-common-430/bionic-updates,bionic-updates 430.50-0ubuntu0.18.04.2 all
libnvidia-common-435/bionic-updates,bionic-updates,now 435.21-0ubuntu0.18.04.2 all [installed,automatic]
libnvidia-compute-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
libnvidia-compute-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-compute-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-compute-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
libnvidia-container-dev/bionic 1.0.7-1 amd64
libnvidia-container-tools/bionic 1.0.7-1 amd64
libnvidia-container1/bionic 1.0.7-1 amd64
libnvidia-container1-dbg/bionic 1.0.7-1 amd64
libnvidia-decode-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
libnvidia-decode-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-decode-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-decode-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
libnvidia-encode-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
libnvidia-encode-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-encode-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-encode-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
libnvidia-fbc1-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
libnvidia-fbc1-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-fbc1-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-fbc1-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
libnvidia-gl-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
libnvidia-gl-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-gl-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-gl-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
libnvidia-ifr1-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
libnvidia-ifr1-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-ifr1-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
libnvidia-ifr1-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
linux-modules-nvidia-390-4.15.0-1022-oracle/bionic-updates,bionic-security 4.15.0-1022.25+1 amd64
linux-modules-nvidia-390-4.15.0-1023-oracle/bionic-updates,bionic-security 4.15.0-1023.26 amd64
linux-modules-nvidia-390-4.15.0-1025-oracle/bionic-updates,bionic-security 4.15.0-1025.28 amd64
linux-modules-nvidia-390-4.15.0-1026-oracle/bionic-updates,bionic-security 4.15.0-1026.29 amd64
linux-modules-nvidia-390-4.15.0-1027-oracle/bionic-updates,bionic-security 4.15.0-1027.30 amd64
linux-modules-nvidia-390-4.15.0-1029-oracle/bionic-updates,bionic-security 4.15.0-1029.32 amd64
linux-modules-nvidia-390-4.15.0-1030-oracle/bionic-updates,bionic-security 4.15.0-1030.33 amd64
linux-modules-nvidia-390-4.15.0-1031-oracle/bionic-updates,bionic-security 4.15.0-1031.34 amd64
linux-modules-nvidia-390-4.15.0-1033-oracle/bionic-updates,bionic-security 4.15.0-1033.36 amd64
linux-modules-nvidia-390-4.15.0-1035-oracle/bionic-updates,bionic-security 4.15.0-1035.39 amd64
linux-modules-nvidia-390-4.15.0-1047-aws/bionic-updates,bionic-security 4.15.0-1047.49 amd64
linux-modules-nvidia-390-4.15.0-1048-aws/bionic-updates,bionic-security 4.15.0-1048.50 amd64
linux-modules-nvidia-390-4.15.0-1050-aws/bionic-updates,bionic-security 4.15.0-1050.52 amd64
linux-modules-nvidia-390-4.15.0-1051-aws/bionic-updates,bionic-security 4.15.0-1051.53 amd64
linux-modules-nvidia-390-4.15.0-1052-aws/bionic-updates,bionic-security 4.15.0-1052.54 amd64
linux-modules-nvidia-390-4.15.0-1054-aws/bionic-updates,bionic-security 4.15.0-1054.56 amd64
linux-modules-nvidia-390-4.15.0-1056-aws/bionic-updates,bionic-security 4.15.0-1056.58 amd64
linux-modules-nvidia-390-4.15.0-1056-oem/bionic-updates,bionic-security 4.15.0-1056.65 amd64
linux-modules-nvidia-390-4.15.0-1057-aws/bionic-updates,bionic-security 4.15.0-1057.59 amd64
linux-modules-nvidia-390-4.15.0-1057-oem/bionic-updates,bionic-security 4.15.0-1057.66 amd64
linux-modules-nvidia-390-4.15.0-1058-aws/bionic-updates,bionic-security 4.15.0-1058.60 amd64
linux-modules-nvidia-390-4.15.0-1059-oem/bionic-updates,bionic-security 4.15.0-1059.68 amd64
linux-modules-nvidia-390-4.15.0-1060-aws/bionic-updates,bionic-security 4.15.0-1060.62 amd64
linux-modules-nvidia-390-4.15.0-1063-aws/bionic-updates,bionic-security 4.15.0-1063.67 amd64
linux-modules-nvidia-390-4.15.0-1063-oem/bionic-updates,bionic-security 4.15.0-1063.72 amd64
linux-modules-nvidia-390-4.15.0-1064-oem/bionic-updates,bionic-security 4.15.0-1064.73 amd64
linux-modules-nvidia-390-4.15.0-1065-oem/bionic-updates,bionic-security 4.15.0-1065.75 amd64
linux-modules-nvidia-390-4.15.0-1066-oem/bionic-updates,bionic-security 4.15.0-1066.76 amd64
linux-modules-nvidia-390-4.15.0-1067-oem/bionic-updates,bionic-security 4.15.0-1067.77 amd64
linux-modules-nvidia-390-4.15.0-1069-oem/bionic-updates,bionic-security 4.15.0-1069.79 amd64
linux-modules-nvidia-390-4.15.0-1073-oem/bionic-updates,bionic-security 4.15.0-1073.83 amd64
linux-modules-nvidia-390-4.15.0-1076-oem/bionic-updates,bionic-security 4.15.0-1076.86+1 amd64
linux-modules-nvidia-390-4.15.0-58-generic/bionic-updates,bionic-security 4.15.0-58.64 amd64
linux-modules-nvidia-390-4.15.0-58-lowlatency/bionic-updates,bionic-security 4.15.0-58.64 amd64
linux-modules-nvidia-390-4.15.0-60-generic/bionic-updates,bionic-security 4.15.0-60.67 amd64
linux-modules-nvidia-390-4.15.0-60-lowlatency/bionic-updates,bionic-security 4.15.0-60.67 amd64
linux-modules-nvidia-390-4.15.0-62-generic/bionic-updates,bionic-security 4.15.0-62.69 amd64
linux-modules-nvidia-390-4.15.0-62-lowlatency/bionic-updates,bionic-security 4.15.0-62.69 amd64
linux-modules-nvidia-390-4.15.0-64-generic/bionic-updates,bionic-security 4.15.0-64.73 amd64
linux-modules-nvidia-390-4.15.0-64-lowlatency/bionic-updates,bionic-security 4.15.0-64.73 amd64
linux-modules-nvidia-390-4.15.0-65-generic/bionic-updates,bionic-security 4.15.0-65.74 amd64
linux-modules-nvidia-390-4.15.0-65-lowlatency/bionic-updates,bionic-security 4.15.0-65.74 amd64
linux-modules-nvidia-390-4.15.0-66-generic/bionic-updates,bionic-security 4.15.0-66.75 amd64
linux-modules-nvidia-390-4.15.0-66-lowlatency/bionic-updates,bionic-security 4.15.0-66.75 amd64
linux-modules-nvidia-390-4.15.0-69-generic/bionic-updates,bionic-security 4.15.0-69.78 amd64
linux-modules-nvidia-390-4.15.0-69-lowlatency/bionic-updates,bionic-security 4.15.0-69.78 amd64
linux-modules-nvidia-390-4.15.0-70-generic/bionic-updates,bionic-security 4.15.0-70.79 amd64
linux-modules-nvidia-390-4.15.0-70-lowlatency/bionic-updates,bionic-security 4.15.0-70.79 amd64
linux-modules-nvidia-390-4.15.0-72-generic/bionic-updates,bionic-security 4.15.0-72.81 amd64
linux-modules-nvidia-390-4.15.0-72-lowlatency/bionic-updates,bionic-security 4.15.0-72.81 amd64
linux-modules-nvidia-390-4.15.0-74-generic/bionic-updates,bionic-security 4.15.0-74.84 amd64
linux-modules-nvidia-390-4.15.0-74-lowlatency/bionic-updates,bionic-security 4.15.0-74.84 amd64
linux-modules-nvidia-390-4.15.0-76-generic/bionic-updates,bionic-security 4.15.0-76.86 amd64
linux-modules-nvidia-390-4.15.0-76-lowlatency/bionic-updates,bionic-security 4.15.0-76.86 amd64
linux-modules-nvidia-390-4.15.0-88-generic/bionic-updates,bionic-security 4.15.0-88.88 amd64
linux-modules-nvidia-390-4.15.0-88-lowlatency/bionic-updates,bionic-security 4.15.0-88.88 amd64
linux-modules-nvidia-390-4.15.0-91-generic/bionic-updates,bionic-security 4.15.0-91.92 amd64
linux-modules-nvidia-390-4.15.0-91-lowlatency/bionic-updates,bionic-security 4.15.0-91.92 amd64
linux-modules-nvidia-390-5.0.0-1007-oracle/bionic-updates,bionic-security 5.0.0-1007.12~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1008-oracle/bionic-updates,bionic-security 5.0.0-1008.13~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1009-oracle/bionic-updates,bionic-security 5.0.0-1009.14~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1010-oracle/bionic-updates,bionic-security 5.0.0-1010.15~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1011-oracle/bionic-updates,bionic-security 5.0.0-1011.16 amd64
linux-modules-nvidia-390-5.0.0-1013-oracle/bionic-updates,bionic-security 5.0.0-1013.18 amd64
linux-modules-nvidia-390-5.0.0-1018-azure/bionic-updates,bionic-security 5.0.0-1018.19~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1020-azure/bionic-updates,bionic-security 5.0.0-1020.21~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1020-gcp/bionic-updates,bionic-security 5.0.0-1020.20~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1020-oem-osp1/bionic-updates,bionic-security 5.0.0-1020.22 amd64
linux-modules-nvidia-390-5.0.0-1021-aws/bionic-updates,bionic-security 5.0.0-1021.24~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1021-gcp/bionic-updates,bionic-security 5.0.0-1021.21~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1022-aws/bionic-updates,bionic-security 5.0.0-1022.25~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1022-azure/bionic-updates,bionic-security 5.0.0-1022.23~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1022-oem-osp1/bionic-updates,bionic-security 5.0.0-1022.24 amd64
linux-modules-nvidia-390-5.0.0-1023-aws/bionic-updates,bionic-security 5.0.0-1023.26~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1023-azure/bionic-updates,bionic-security 5.0.0-1023.24~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1024-aws/bionic-updates,bionic-security 5.0.0-1024.27~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1024-oem-osp1/bionic-updates,bionic-security 5.0.0-1024.27 amd64
linux-modules-nvidia-390-5.0.0-1025-aws/bionic-updates,bionic-security 5.0.0-1025.28 amd64
linux-modules-nvidia-390-5.0.0-1025-azure/bionic-updates,bionic-security 5.0.0-1025.27~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1025-gcp/bionic-updates,bionic-security 5.0.0-1025.26~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1025-oem-osp1/bionic-updates,bionic-security 5.0.0-1025.28 amd64
linux-modules-nvidia-390-5.0.0-1026-gcp/bionic-updates,bionic-security 5.0.0-1026.27~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1027-aws/bionic-updates,bionic-security 5.0.0-1027.30 amd64
linux-modules-nvidia-390-5.0.0-1027-azure/bionic-updates,bionic-security 5.0.0-1027.29~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1027-oem-osp1/bionic-updates,bionic-security 5.0.0-1027.31 amd64
linux-modules-nvidia-390-5.0.0-1028-azure/bionic-updates,bionic-security 5.0.0-1028.30~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1028-gcp/bionic-updates,bionic-security 5.0.0-1028.29~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1028-oem-osp1/bionic-updates,bionic-security 5.0.0-1028.32 amd64
linux-modules-nvidia-390-5.0.0-1029-azure/bionic-updates,bionic-security 5.0.0-1029.31~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1029-gcp/bionic-updates,bionic-security 5.0.0-1029.30~18.04.1 amd64
linux-modules-nvidia-390-5.0.0-1030-oem-osp1/bionic-updates,bionic-security 5.0.0-1030.34 amd64
linux-modules-nvidia-390-5.0.0-1031-azure/bionic-updates,bionic-security 5.0.0-1031.33 amd64
linux-modules-nvidia-390-5.0.0-1031-gcp/bionic-updates,bionic-security 5.0.0-1031.32 amd64
linux-modules-nvidia-390-5.0.0-1032-azure/bionic-updates,bionic-security 5.0.0-1032.34 amd64
linux-modules-nvidia-390-5.0.0-1033-gcp/bionic-updates,bionic-security 5.0.0-1033.34 amd64
linux-modules-nvidia-390-5.0.0-1033-oem-osp1/bionic-updates 5.0.0-1033.38 amd64
linux-modules-nvidia-390-5.0.0-1037-oem-osp1/bionic-updates,bionic-security 5.0.0-1037.42 amd64
linux-modules-nvidia-390-5.0.0-1039-oem-osp1/bionic-updates,bionic-security 5.0.0-1039.44 amd64
linux-modules-nvidia-390-5.0.0-1040-oem-osp1/bionic-updates,bionic-security 5.0.0-1040.45 amd64
linux-modules-nvidia-390-5.0.0-1043-oem-osp1/bionic-updates,bionic-security 5.0.0-1043.48 amd64
linux-modules-nvidia-390-5.3.0-1007-azure/bionic-updates,bionic-security 5.3.0-1007.8~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1008-azure/bionic-updates,bionic-security 5.3.0-1008.9~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1008-gcp/bionic-updates,bionic-security 5.3.0-1008.9~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1009-azure/bionic-updates,bionic-security 5.3.0-1009.10~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1009-gcp/bionic-updates,bionic-security 5.3.0-1009.10~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1010-azure/bionic-updates,bionic-security 5.3.0-1010.11~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1010-gcp/bionic-updates,bionic-security 5.3.0-1010.11~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1011-oracle/bionic-updates,bionic-security 5.3.0-1011.12~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1012-azure/bionic-updates,bionic-security 5.3.0-1012.13~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1012-gcp/bionic-updates,bionic-security 5.3.0-1012.13~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1013-azure/bionic-updates,bionic-security 5.3.0-1013.14~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-1014-gcp/bionic-updates,bionic-security 5.3.0-1014.15~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-26-generic/bionic-updates,bionic-security 5.3.0-26.28~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-26-lowlatency/bionic-updates,bionic-security 5.3.0-26.28~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-28-generic/bionic-updates,bionic-security 5.3.0-28.30~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-28-lowlatency/bionic-updates,bionic-security 5.3.0-28.30~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-40-generic/bionic-updates,bionic-security 5.3.0-40.32~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-40-lowlatency/bionic-updates,bionic-security 5.3.0-40.32~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-42-generic/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-390-5.3.0-42-lowlatency/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-390-aws/bionic-updates,bionic-security 4.15.0-1063.67 amd64
linux-modules-nvidia-390-aws-edge/bionic-updates,bionic-security 5.0.0-1027.30 amd64
linux-modules-nvidia-390-azure/bionic-updates,bionic-security 5.0.0-1032.34 amd64
linux-modules-nvidia-390-azure-edge/bionic-updates,bionic-security 5.3.0-1013.14~18.04.1 amd64
linux-modules-nvidia-390-gcp/bionic-updates,bionic-security 5.0.0-1033.34 amd64
linux-modules-nvidia-390-gcp-edge/bionic-updates,bionic-security 5.3.0-1014.15~18.04.1 amd64
linux-modules-nvidia-390-generic/bionic-updates,bionic-security 4.15.0-91.92 amd64
linux-modules-nvidia-390-generic-hwe-18.04/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-390-lowlatency/bionic-updates,bionic-security 4.15.0-91.92 amd64
linux-modules-nvidia-390-lowlatency-hwe-18.04/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-390-oem/bionic-updates,bionic-security 4.15.0-1076.86+1 amd64
linux-modules-nvidia-390-oem-osp1/bionic-updates,bionic-security 5.0.0-1043.48 amd64
linux-modules-nvidia-390-oracle/bionic-updates,bionic-security 5.0.0-1013.18 amd64
linux-modules-nvidia-390-oracle-edge/bionic-updates,bionic-security 5.3.0-1011.12~18.04.1 amd64
linux-modules-nvidia-390-oracle-lts-18.04/bionic-updates,bionic-security 4.15.0-1035.39 amd64
linux-modules-nvidia-418-5.0.0-1007-oracle/bionic-updates,bionic-security 5.0.0-1007.12~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1008-oracle/bionic-updates,bionic-security 5.0.0-1008.13~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1009-oracle/bionic-updates,bionic-security 5.0.0-1009.14~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1010-oracle/bionic-updates,bionic-security 5.0.0-1010.15~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1011-oracle/bionic-updates,bionic-security 5.0.0-1011.16 amd64
linux-modules-nvidia-418-5.0.0-1013-oracle/bionic-updates,bionic-security 5.0.0-1013.18 amd64
linux-modules-nvidia-418-5.0.0-1018-azure/bionic-updates,bionic-security 5.0.0-1018.19~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1020-azure/bionic-updates,bionic-security 5.0.0-1020.21~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1020-gcp/bionic-updates,bionic-security 5.0.0-1020.20~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1020-oem-osp1/bionic-updates,bionic-security 5.0.0-1020.22 amd64
linux-modules-nvidia-418-5.0.0-1021-aws/bionic-updates,bionic-security 5.0.0-1021.24~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1021-gcp/bionic-updates,bionic-security 5.0.0-1021.21~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1022-aws/bionic-updates,bionic-security 5.0.0-1022.25~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1022-azure/bionic-updates,bionic-security 5.0.0-1022.23~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1022-oem-osp1/bionic-updates,bionic-security 5.0.0-1022.24 amd64
linux-modules-nvidia-418-5.0.0-1023-aws/bionic-updates,bionic-security 5.0.0-1023.26~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1023-azure/bionic-updates,bionic-security 5.0.0-1023.24~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1024-aws/bionic-updates,bionic-security 5.0.0-1024.27~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1024-oem-osp1/bionic-updates,bionic-security 5.0.0-1024.27 amd64
linux-modules-nvidia-418-5.0.0-1025-aws/bionic-updates,bionic-security 5.0.0-1025.28 amd64
linux-modules-nvidia-418-5.0.0-1025-azure/bionic-updates,bionic-security 5.0.0-1025.27~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1025-gcp/bionic-updates,bionic-security 5.0.0-1025.26~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1025-oem-osp1/bionic-updates,bionic-security 5.0.0-1025.28 amd64
linux-modules-nvidia-418-5.0.0-1026-gcp/bionic-updates,bionic-security 5.0.0-1026.27~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1027-aws/bionic-updates,bionic-security 5.0.0-1027.30 amd64
linux-modules-nvidia-418-5.0.0-1027-azure/bionic-updates,bionic-security 5.0.0-1027.29~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1027-oem-osp1/bionic-updates,bionic-security 5.0.0-1027.31 amd64
linux-modules-nvidia-418-5.0.0-1028-azure/bionic-updates,bionic-security 5.0.0-1028.30~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1028-gcp/bionic-updates,bionic-security 5.0.0-1028.29~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1028-oem-osp1/bionic-updates,bionic-security 5.0.0-1028.32 amd64
linux-modules-nvidia-418-5.0.0-1029-azure/bionic-updates,bionic-security 5.0.0-1029.31~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1029-gcp/bionic-updates,bionic-security 5.0.0-1029.30~18.04.1 amd64
linux-modules-nvidia-418-5.0.0-1030-oem-osp1/bionic-updates,bionic-security 5.0.0-1030.34 amd64
linux-modules-nvidia-418-5.0.0-1031-azure/bionic-updates,bionic-security 5.0.0-1031.33 amd64
linux-modules-nvidia-418-5.0.0-1031-gcp/bionic-updates,bionic-security 5.0.0-1031.32 amd64
linux-modules-nvidia-418-5.0.0-1032-azure/bionic-updates,bionic-security 5.0.0-1032.34 amd64
linux-modules-nvidia-418-5.0.0-1033-gcp/bionic-updates,bionic-security 5.0.0-1033.34 amd64
linux-modules-nvidia-418-5.0.0-1033-oem-osp1/bionic-updates 5.0.0-1033.38 amd64
linux-modules-nvidia-418-5.0.0-1037-oem-osp1/bionic-updates,bionic-security 5.0.0-1037.42 amd64
linux-modules-nvidia-418-5.0.0-1039-oem-osp1/bionic-updates,bionic-security 5.0.0-1039.44 amd64
linux-modules-nvidia-418-5.0.0-1040-oem-osp1/bionic-updates,bionic-security 5.0.0-1040.45 amd64
linux-modules-nvidia-418-5.0.0-1043-oem-osp1/bionic-updates,bionic-security 5.0.0-1043.48 amd64
linux-modules-nvidia-418-aws-edge/bionic-updates,bionic-security 5.0.0-1027.30 amd64
linux-modules-nvidia-418-azure/bionic-updates,bionic-security 5.0.0-1032.34 amd64
linux-modules-nvidia-418-gcp/bionic-updates,bionic-security 5.0.0-1033.34 amd64
linux-modules-nvidia-418-oem-osp1/bionic-updates,bionic-security 5.0.0-1043.48 amd64
linux-modules-nvidia-418-oracle/bionic-updates,bionic-security 5.0.0-1013.18 amd64
linux-modules-nvidia-418-oracle-edge/bionic-updates,bionic-security 5.0.0-1011.16 amd64
linux-modules-nvidia-430-5.3.0-1007-azure/bionic-updates,bionic-security 5.3.0-1007.8~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1008-azure/bionic-updates,bionic-security 5.3.0-1008.9~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1008-gcp/bionic-updates,bionic-security 5.3.0-1008.9~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1009-azure/bionic-updates,bionic-security 5.3.0-1009.10~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1009-gcp/bionic-updates,bionic-security 5.3.0-1009.10~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1010-azure/bionic-updates,bionic-security 5.3.0-1010.11~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1010-gcp/bionic-updates,bionic-security 5.3.0-1010.11~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1011-oracle/bionic-updates,bionic-security 5.3.0-1011.12~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1012-azure/bionic-updates,bionic-security 5.3.0-1012.13~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1012-gcp/bionic-updates,bionic-security 5.3.0-1012.13~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1013-azure/bionic-updates,bionic-security 5.3.0-1013.14~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-1014-gcp/bionic-updates,bionic-security 5.3.0-1014.15~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-26-generic/bionic-updates,bionic-security 5.3.0-26.28~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-26-lowlatency/bionic-updates,bionic-security 5.3.0-26.28~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-28-generic/bionic-updates,bionic-security 5.3.0-28.30~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-28-lowlatency/bionic-updates,bionic-security 5.3.0-28.30~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-40-generic/bionic-updates,bionic-security 5.3.0-40.32~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-40-lowlatency/bionic-updates,bionic-security 5.3.0-40.32~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-42-generic/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-430-5.3.0-42-lowlatency/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-430-azure-edge/bionic-updates,bionic-security 5.3.0-1013.14~18.04.1 amd64
linux-modules-nvidia-430-gcp-edge/bionic-updates,bionic-security 5.3.0-1014.15~18.04.1 amd64
linux-modules-nvidia-430-generic-hwe-18.04/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-430-lowlatency-hwe-18.04/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-430-oracle-edge/bionic-updates,bionic-security 5.3.0-1011.12~18.04.1 amd64
linux-modules-nvidia-435-5.3.0-26-generic/bionic-updates,bionic-security 5.3.0-26.28~18.04.1 amd64
linux-modules-nvidia-435-5.3.0-26-lowlatency/bionic-updates,bionic-security 5.3.0-26.28~18.04.1 amd64
linux-modules-nvidia-435-5.3.0-28-generic/bionic-updates,bionic-security 5.3.0-28.30~18.04.1 amd64
linux-modules-nvidia-435-5.3.0-28-lowlatency/bionic-updates,bionic-security 5.3.0-28.30~18.04.1 amd64
linux-modules-nvidia-435-5.3.0-40-generic/bionic-updates,bionic-security 5.3.0-40.32~18.04.1 amd64
linux-modules-nvidia-435-5.3.0-40-lowlatency/bionic-updates,bionic-security 5.3.0-40.32~18.04.1 amd64
linux-modules-nvidia-435-5.3.0-42-generic/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-435-5.3.0-42-lowlatency/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-435-generic-hwe-18.04/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
linux-modules-nvidia-435-lowlatency-hwe-18.04/bionic-updates,bionic-security 5.3.0-42.34~18.04.1 amd64
mate-sensors-applet-nvidia/tricia 1.22.1-1+tricia amd64
nvidia-331/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-331-dev/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-331-updates/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-331-updates-dev/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-331-updates-uvm/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-331-uvm/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-340/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-340-dev/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-340-updates/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-340-updates-dev/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-340-updates-uvm/bionic 340.96-0ubuntu2 amd64
nvidia-340-uvm/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-346/bionic 352.63-0ubuntu3 amd64
nvidia-346-dev/bionic 352.63-0ubuntu3 amd64
nvidia-346-updates/bionic 352.63-0ubuntu3 amd64
nvidia-346-updates-dev/bionic 352.63-0ubuntu3 amd64
nvidia-352/bionic 361.45.11-0ubuntu4 amd64
nvidia-352-dev/bionic 361.45.11-0ubuntu4 amd64
nvidia-352-updates/bionic 361.45.11-0ubuntu4 amd64
nvidia-352-updates-dev/bionic 361.45.11-0ubuntu4 amd64
nvidia-361/bionic 367.57-0ubuntu5 amd64
nvidia-361-dev/bionic 367.57-0ubuntu5 amd64
nvidia-361-updates/bionic 361.45.11-0ubuntu4 amd64
nvidia-361-updates-dev/bionic 361.45.11-0ubuntu4 amd64
nvidia-367/bionic 375.82-0ubuntu3 amd64
nvidia-367-dev/bionic 375.82-0ubuntu3 amd64
nvidia-375/bionic 384.111-0ubuntu1 amd64
nvidia-375-dev/bionic 384.111-0ubuntu1 amd64
nvidia-384/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-384-dev/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-cg-dev/bionic 3.1.0013-3 amd64
nvidia-cg-doc/bionic,bionic 3.1.0013-3 all
nvidia-cg-toolkit/bionic 3.1.0013-3 amd64
nvidia-common/bionic-updates 1:0.5.2.5 amd64
nvidia-compute-utils-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-compute-utils-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-compute-utils-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-compute-utils-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
nvidia-container-runtime/bionic 3.1.4-1 amd64
nvidia-container-runtime-hook/bionic 1.4.0-1 amd64
nvidia-container-toolkit/bionic 1.0.5-1 amd64
nvidia-cuda-dev/bionic 9.1.85-3ubuntu1 amd64
nvidia-cuda-doc/bionic,bionic 9.1.85-3ubuntu1 all
nvidia-cuda-gdb/bionic 9.1.85-3ubuntu1 amd64
nvidia-cuda-toolkit/bionic 9.1.85-3ubuntu1 amd64
nvidia-dkms-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-dkms-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-dkms-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-dkms-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
nvidia-docker2/bionic 2.2.2-1 all
nvidia-driver-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-driver-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-driver-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-driver-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed]
nvidia-headless-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-headless-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-headless-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-headless-435/bionic-updates 435.21-0ubuntu0.18.04.2 amd64
nvidia-headless-no-dkms-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-headless-no-dkms-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-headless-no-dkms-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-headless-no-dkms-435/bionic-updates 435.21-0ubuntu0.18.04.2 amd64
nvidia-kernel-common-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-kernel-common-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-kernel-common-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-kernel-common-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
nvidia-kernel-source-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-kernel-source-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-kernel-source-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-kernel-source-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
nvidia-libopencl1-331/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-libopencl1-331-updates/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-libopencl1-340/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-libopencl1-340-updates/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-libopencl1-346/bionic 352.63-0ubuntu3 amd64
nvidia-libopencl1-346-updates/bionic 352.63-0ubuntu3 amd64
nvidia-libopencl1-352/bionic 361.45.11-0ubuntu4 amd64
nvidia-libopencl1-352-updates/bionic 361.45.11-0ubuntu4 amd64
nvidia-libopencl1-361/bionic 367.57-0ubuntu5 amd64
nvidia-libopencl1-361-updates/bionic 361.45.11-0ubuntu4 amd64
nvidia-libopencl1-367/bionic 375.82-0ubuntu3 amd64
nvidia-libopencl1-375/bionic 384.111-0ubuntu1 amd64
nvidia-libopencl1-384/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-modprobe/bionic 384.111-2 amd64
nvidia-nsight/bionic 9.1.85-3ubuntu1 amd64
nvidia-opencl-dev/bionic 9.1.85-3ubuntu1 amd64
nvidia-opencl-icd-331/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-opencl-icd-331-updates/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-opencl-icd-340/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-opencl-icd-340-updates/bionic-updates 340.107-0ubuntu0.18.04.4 amd64
nvidia-opencl-icd-346/bionic 352.63-0ubuntu3 amd64
nvidia-opencl-icd-346-updates/bionic 352.63-0ubuntu3 amd64
nvidia-opencl-icd-352/bionic 361.45.11-0ubuntu4 amd64
nvidia-opencl-icd-352-updates/bionic 361.45.11-0ubuntu4 amd64
nvidia-opencl-icd-361/bionic 367.57-0ubuntu5 amd64
nvidia-opencl-icd-361-updates/bionic 361.45.11-0ubuntu4 amd64
nvidia-opencl-icd-367/bionic 375.82-0ubuntu3 amd64
nvidia-opencl-icd-375/bionic 384.111-0ubuntu1 amd64
nvidia-opencl-icd-384/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-prime/bionic-updates,bionic-updates,now 0.8.8.2 all [installed]
nvidia-prime-applet/tricia,tricia,now 1.0.8 all [installed]
nvidia-profiler/bionic 9.1.85-3ubuntu1 amd64
nvidia-settings/bionic-updates,now 390.77-0ubuntu0.18.04.1 amd64 [installed]
nvidia-utils-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
nvidia-utils-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-utils-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
nvidia-utils-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
nvidia-visual-profiler/bionic 9.1.85-3ubuntu1 amd64
xserver-xorg-video-nvidia-390/bionic-updates 390.116-0ubuntu0.18.04.3 amd64
xserver-xorg-video-nvidia-418/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
xserver-xorg-video-nvidia-430/bionic-updates 430.50-0ubuntu0.18.04.2 amd64
xserver-xorg-video-nvidia-435/bionic-updates,now 435.21-0ubuntu0.18.04.2 amd64 [installed,automatic]
lwk@qwfys:~$ apt install nvidia-container-toolkit
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.3.0-26 linux-headers-5.3.0-26-generic linux-image-5.3.0-26-generic linux-modules-5.3.0-26-generic linux-modules-extra-5.3.0-26-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnvidia-container-tools libnvidia-container1
The following NEW packages will be installed:
libnvidia-container-tools libnvidia-container1 nvidia-container-toolkit
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 650 kB of archives.
After this operation, 2,115 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64 libnvidia-container1 1.0.7-1 [59.4 kB]
Get:2 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64 libnvidia-container-tools 1.0.7-1 [15.8 kB]
Get:3 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 nvidia-container-toolkit 1.0.5-1 [575 kB]
Fetched 650 kB in 1min 2s (10.6 kB/s)
Selecting previously unselected package libnvidia-container1:amd64.
(Reading database ... 409426 files and directories currently installed.)
Preparing to unpack .../libnvidia-container1_1.0.7-1_amd64.deb ...
Unpacking libnvidia-container1:amd64 (1.0.7-1) ...
Selecting previously unselected package libnvidia-container-tools.
Preparing to unpack .../libnvidia-container-tools_1.0.7-1_amd64.deb ...
Unpacking libnvidia-container-tools (1.0.7-1) ...
Selecting previously unselected package nvidia-container-toolkit.
Preparing to unpack .../nvidia-container-toolkit_1.0.5-1_amd64.deb ...
Unpacking nvidia-container-toolkit (1.0.5-1) ...
Setting up libnvidia-container1:amd64 (1.0.7-1) ...
Setting up libnvidia-container-tools (1.0.7-1) ...
Setting up nvidia-container-toolkit (1.0.5-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
lwk@qwfys:~$
lwk@qwfys:~$ sudo systemctl restart docker
lwk@qwfys:~$ sudo systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-03-21 18:30:28 CST; 6s ago
Docs: https://docs.docker.com
Main PID: 13887 (dockerd)
Tasks: 21
CGroup: /system.slice/docker.service
└─13887 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
Mar 21 18:30:27 qwfys dockerd[13887]: time="2020-03-21T18:30:27.177105020+08:00" level=warning msg="Your kernel does not support cgroup rt runtime"
Mar 21 18:30:27 qwfys dockerd[13887]: time="2020-03-21T18:30:27.177120258+08:00" level=warning msg="Your kernel does not support cgroup blkio weight"
Mar 21 18:30:27 qwfys dockerd[13887]: time="2020-03-21T18:30:27.177135119+08:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Mar 21 18:30:27 qwfys dockerd[13887]: time="2020-03-21T18:30:27.177444495+08:00" level=info msg="Loading containers: start."
Mar 21 18:30:27 qwfys dockerd[13887]: time="2020-03-21T18:30:27.698830830+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Mar 21 18:30:27 qwfys dockerd[13887]: time="2020-03-21T18:30:27.881678166+08:00" level=info msg="Loading containers: done."
Mar 21 18:30:28 qwfys dockerd[13887]: time="2020-03-21T18:30:28.437351853+08:00" level=info msg="Docker daemon" commit=afacb8b7f0 graphdriver(s)=overlay2 version=19.03.8
Mar 21 18:30:28 qwfys dockerd[13887]: time="2020-03-21T18:30:28.437467117+08:00" level=info msg="Daemon has completed initialization"
Mar 21 18:30:28 qwfys dockerd[13887]: time="2020-03-21T18:30:28.494875008+08:00" level=info msg="API listen on /var/run/docker.sock"
Mar 21 18:30:28 qwfys systemd[1]: Started Docker Application Container Engine.
lwk@qwfys:~$
so finished
Reference