Skip to content

Commit

Permalink
v0.154 - headless mode option
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingFathead committed Oct 10, 2024
1 parent 88a3de8 commit 606300a
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions DOCKER_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,22 @@ Before proceeding, ensure the following are installed and configured on your sys
3. **NVIDIA Container Toolkit**
- Enables Docker to access the GPU resources on the host machine.
- **Installation Steps:**
```bash
# Add the package repositories

```bash
# Add the package repositories
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/$distribution/nvidia-container-toolkit.list | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

# Install the NVIDIA Container Toolkit
sudo apt-get update
sudo apt-get install -y nvidia-docker2
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/$distribution/nvidia-container-toolkit.list | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

# Install the NVIDIA Container Toolkit
sudo apt-get update
sudo apt-get install -y nvidia-docker2

# Restart the Docker daemon to apply changes
sudo systemctl restart docker
```

# Restart the Docker daemon to apply changes
sudo systemctl restart docker
```
- **Reference:** [NVIDIA Docker Documentation](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html)

4. **GitHub Repository Clone**
Expand Down

0 comments on commit 606300a

Please sign in to comment.