Skip to content

Commit

Permalink
fix: Clear issues in install_docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jhwohlgemuth committed Aug 29, 2024
1 parent b96ea19 commit 344763f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions provision/scripts/dev/install_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ install_nvidia_container_toolkit() {
# Install NVIDIA Container Toolkit
# https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
#
local NVIDIA_URL = 'https://nvidia.github.io/libnvidia-container'
local NVIDIA_URL='https://nvidia.github.io/libnvidia-container'
curl -fsSL "${NVIDIA_URL}/gpgkey" | \gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg
curl -s -L "${NVIDIA_URL}/stable/deb/nvidia-container-toolkit.list" | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
curl -s -L "${NVIDIA_URL}/stable/deb/nvidia-container-toolkit.list" \
| sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' \
| tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
apt-get update
apt-get install --yes nvidia-container-toolkit
service docker restart
Expand Down

0 comments on commit 344763f

Please sign in to comment.