<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.williams-net.org/index.php?action=history&amp;feed=atom&amp;title=NVIDIA_Docker_Runtime</id>
	<title>NVIDIA Docker Runtime - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.williams-net.org/index.php?action=history&amp;feed=atom&amp;title=NVIDIA_Docker_Runtime"/>
	<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=NVIDIA_Docker_Runtime&amp;action=history"/>
	<updated>2026-06-01T03:48:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.williams-net.org/index.php?title=NVIDIA_Docker_Runtime&amp;diff=399&amp;oldid=prev</id>
		<title>DrEdWilliams: /* Finishing the install */</title>
		<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=NVIDIA_Docker_Runtime&amp;diff=399&amp;oldid=prev"/>
		<updated>2020-12-19T04:01:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Finishing the install&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:01, 19 December 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Test the GPU performance using a simple NVIDIA GPU Cloud container with the CUDA nbody sample program&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Test the GPU performance using a simple NVIDIA GPU Cloud container with the CUDA nbody sample program&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  docker run -it --rm nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -benchmark -fp64&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  docker run -it --rm &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--gpus all &lt;/ins&gt;nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -benchmark -fp64&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Reloading Repository Certificates =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Reloading Repository Certificates =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DrEdWilliams</name></author>
	</entry>
	<entry>
		<id>https://wiki.williams-net.org/index.php?title=NVIDIA_Docker_Runtime&amp;diff=397&amp;oldid=prev</id>
		<title>DrEdWilliams: Created page with &quot;(originally from https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker)  == CentOS 7/8 == &lt;pre&gt;sudo yum-config-manager --add-repo https:/...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=NVIDIA_Docker_Runtime&amp;diff=397&amp;oldid=prev"/>
		<updated>2020-12-19T03:57:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;(originally from https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker)  == CentOS 7/8 == &amp;lt;pre&amp;gt;sudo yum-config-manager --add-repo https:/...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;(originally from https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker)&lt;br /&gt;
&lt;br /&gt;
== CentOS 7/8 ==&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo yum-config-manager --add-repo https://nvidia.github.io/nvidia-docker/centos7/x86_64/nvidia-docker.repo&lt;br /&gt;
sudo yum install -y nvidia-docker2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Debian 10 ==&lt;br /&gt;
Setup the stable repository and the GPG key:&lt;br /&gt;
&amp;lt;pre&amp;gt;distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \&lt;br /&gt;
   &amp;amp;&amp;amp; curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \&lt;br /&gt;
   &amp;amp;&amp;amp; curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note:  To get access to experimental features such as CUDA on WSL or the new MIG capability on A100, you may want to add the experimental branch to the repository listing:&lt;br /&gt;
&lt;br /&gt;
 curl -s -L https://nvidia.github.io/nvidia-container-runtime/experimental/$distribution/nvidia-container-runtime.list | sudo tee /etc/apt/sources.list.d/nvidia-container-runtime.list&lt;br /&gt;
&lt;br /&gt;
Install the nvidia-docker2 package (and dependencies) after updating the package listing:&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install -y nvidia-docker2&lt;br /&gt;
&lt;br /&gt;
== Finishing the install ==&lt;br /&gt;
Restart the Docker daemon to complete the installation after setting the default runtime:&lt;br /&gt;
 sudo systemctl restart docker&lt;br /&gt;
&lt;br /&gt;
Test nvidia-smi with the latest official CUDA image&lt;br /&gt;
 sudo docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi&lt;br /&gt;
&lt;br /&gt;
Test the GPU performance using a simple NVIDIA GPU Cloud container with the CUDA nbody sample program&lt;br /&gt;
 docker run -it --rm nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -benchmark -fp64&lt;br /&gt;
&lt;br /&gt;
= Reloading Repository Certificates =&lt;br /&gt;
&lt;br /&gt;
Rather frequently, it seems, the NVIDIA folks invalidate their signing certificates for their repositories.  When that happens, you just need to delete the certificates and let the &amp;#039;yum&amp;#039; command reload them on the next update:&lt;br /&gt;
&lt;br /&gt;
 $(sed -n &amp;#039;s/releasever=//p&amp;#039; /etc/yum.conf)&lt;br /&gt;
 ${DIST:-$(. /etc/os-release; echo $VERSION_ID)}&lt;br /&gt;
 sudo rpm -e gpg-pubkey-f796ecb0&lt;br /&gt;
 sudo gpg --homedir /var/lib/yum/repos/$(uname -m)/$DIST/nvidia-container-runtime/gpgdir --delete-key f796ecb0&lt;br /&gt;
 sudo gpg --homedir /var/lib/yum/repos/$(uname -m)/$DIST/libnvidia-container/gpgdir --delete-key f796ecb0&lt;br /&gt;
 sudo gpg --homedir /var/lib/yum/repos/$(uname -m)/$DIST/nvidia-docker/gpgdir --delete-key f796ecb0&lt;br /&gt;
 sudo yum -y makecache&lt;/div&gt;</summary>
		<author><name>DrEdWilliams</name></author>
	</entry>
</feed>