fork download
  1. # install NVIDIA Container Toolkit 
  2. curl -fsSL https://n...content-available-to-author-only...b.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
  3. && curl -s -L https://n...content-available-to-author-only...b.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
  4. sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
  5. sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
  6.  
  7. sudo apt-get update
  8. Hit:1 http://u...content-available-to-author-only...u.com/ubuntu jammy InRelease
  9. Hit:2 http://u...content-available-to-author-only...u.com/ubuntu jammy-updates InRelease
  10. Hit:3 http://u...content-available-to-author-only...u.com/ubuntu jammy-backports InRelease
  11. Get:4 https://n...content-available-to-author-only...b.io/libnvidia-container/stable/deb/amd64 InRelease [1477 B]
  12. Hit:6 http://s...content-available-to-author-only...u.com/ubuntu jammy-security InRelease
  13. Err:4 https://n...content-available-to-author-only...b.io/libnvidia-container/stable/deb/amd64 InRelease
  14. The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DDCAE044F796ECB0
  15. Hit:5 https://p...content-available-to-author-only...s.com/deb deb InRelease
  16. Reading package lists... Done
  17. W: GPG error: https://n...content-available-to-author-only...b.io/libnvidia-container/stable/deb/amd64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DDCAE044F796ECB0
  18. E: The repository 'https://n...content-available-to-author-only...b.io/libnvidia-container/stable/deb/amd64 InRelease' is not signed.
  19. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  20. N: See apt-secure(8) manpage for repository creation and user configuration details.
  21. W: https://p...content-available-to-author-only...y.io/deb/dists/deb/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  22.  
  23.  
  24. # https://d...content-available-to-author-only...a.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
  25. curl -fsSL https://n...content-available-to-author-only...b.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
  26. && sudo chmod 0644 /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
  27. && curl -s -L https://n...content-available-to-author-only...b.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
  28. sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
  29. sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
  30.  
  31. sudo apt-get update
  32. Hit:1 http://u...content-available-to-author-only...u.com/ubuntu jammy InRelease
  33. Hit:2 http://u...content-available-to-author-only...u.com/ubuntu jammy-updates InRelease
  34. Hit:3 http://u...content-available-to-author-only...u.com/ubuntu jammy-backports InRelease
  35. Hit:4 https://n...content-available-to-author-only...b.io/libnvidia-container/stable/deb/amd64 InRelease
  36. Hit:6 http://s...content-available-to-author-only...u.com/ubuntu jammy-security InRelease
  37. Hit:5 https://p...content-available-to-author-only...s.com/deb deb InRelease
  38. Reading package lists... Done
  39. W: https://p...content-available-to-author-only...y.io/deb/dists/deb/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  40.  
Runtime error #stdin #stdout #stderr 0.02s 12708KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
curl: (6) Could not resolve host: nvidia.github.io
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set