NVIDIA / nvidia-docker

Build and run Docker containers leveraging NVIDIA GPUs
Apache License 2.0
17.17k stars 2.03k forks source link

Build, make and make install nvidia-docker #1729

Closed barzan-hayati closed 1 year ago

barzan-hayati commented 1 year ago

1. Issue or feature description

I want to build and make nvidia-docker from source and not installing via sudo apt install ....

2. Steps to reproduce the issue

For install by make command, this warning appeared: *** LIB_VERSION must be specified. Stop. Also I should set these variable: LIB_TAG TOOLKIT_VERSION TOOLKIT_TAG

How I set these variables?

3. Information to attach (optional if deemed irrelevant)

elezar commented 1 year ago

@barzan-hayati nvidia-docker is a lightweight wrapper around the docker command line and is not built. The make targets only generate the Debian and RPM packages.

Please rather refer to the nvidia-contianer-toolkit repository for the components of the NVIDIA Container Toolkit. Note that for a functional NVIDIA container stack, the NVIDIA Container Library and CLI would also have to be built.

I am closing this issue. If there are problems building the components from their respective repositories, please open an issue there.

barzan-hayati commented 11 months ago

@elezar Thanks for your respond. I have a server(Ubuntu 18.04) that does not have any connection to Internet. I'd like to install nvidia-docker or nvidia-container-toolkit on it. How could I install these tools while I have not Internet connection. Is there a way to find .deb files for *Ubuntu Server 18.04**? I'm looking on the internet but I do not file any deb file.

klueska commented 11 months ago

https://github.com/NVIDIA/libnvidia-container/tree/gh-pages/stable/ubuntu18.04