NVIDIA / nvidia-container-toolkit

Build and run containers leveraging NVIDIA GPUs
Apache License 2.0
2.43k stars 260 forks source link

How to install Nvidia-container-toolkit offline? #586

Open thucgn opened 3 months ago

thucgn commented 3 months ago

I need to install Nvidia-container-toolkit offline in centos7 server,due to some force。The serve had installed docker 20。 How could I got all the dependencies and install the nvidia-container-toolkit to run gpu container?THANKS!!!!!!!!!!!!!!!!

elezar commented 3 months ago

@thucgn we are experimenting with including deb and rpm packages archives in our GitHub releases. Please download the relevant archives from https://github.com/NVIDIA/nvidia-container-toolkit/releases/tag/v1.16.0-rc.2 (for example) and let us know if you have any problems?

BarracudaLi commented 3 months ago

@thucgn we are experimenting with including deb and rpm packages archives in our GitHub releases. Please download the relevant archives from https://github.com/NVIDIA/nvidia-container-toolkit/releases/tag/v1.16.0-rc.2 (for example) and let us know if you have any problems?

Is there any Installation Guide about rpm packages?

BarracudaLi commented 3 months ago

instructions(works on centos 8.5 ): sudo rpm -ivh libnvidia-container1-1.16.1-1.x86_64.rpm sudo rpm -ivh libnvidia-container-tools-1.16.1-1.x86_64.rpm sudo rpm -ivh nvidia-container-toolkit-base-1.16.1-1.x86_64.rpm sudo rpm -ivh nvidia-container-toolkit-1.16.1-1.x86_64.rpm

dfengpo commented 2 months ago

how to install on ubuntn 2204

trpstra commented 2 months ago

how to install on ubuntn 2204

I have the same issue. Ubuntu 22.04 machine, with only ssh access to the outside world so no apt-get. Are there official .deb package files somewhere? Thanks!

BarracudaLi commented 2 months ago

Release v1.16.0-rc.2 · NVIDIA/nvidia-container-toolkit · GitHub https://github.com/NVIDIA/nvidia-container-toolkit/releases/tag/v1.16.0-rc.2

The deb package files are above.

On Thu, Aug 29, 2024 at 10:39 PM trpstra @.***> wrote:

how to install on ubuntn 2204

I have the same issue. Ubuntu 22.04 machine, with only ssh access to the outside world so no apt-get. Are there official .deb package files somewhere? Thanks!

— Reply to this email directly, view it on GitHub https://github.com/NVIDIA/nvidia-container-toolkit/issues/586#issuecomment-2317910758, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHFPYKFMPFWO3ZKQRNNQHWLZT4XBDAVCNFSM6AAAAABKSUJXSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJXHEYTANZVHA . You are receiving this because you commented.Message ID: @.***>

Kry1702 commented 2 weeks ago

1.Need to download; libnvidia-container-tools-1.13.5-1.x86_64.rpm libnvidia-container1-1.13.5-1.x86_64.rpm nvidia-container-toolkit-1.13.5-1.x86_64.rpm nvidia-container-toolkit-base-1.13.5-1.x86_64.rpm

2.Install yum -y localinstall *.rpm