Update README.md
Build Docs / build (push) Failing after 27s Details

This commit is contained in:
Alex Davies 2024-11-19 11:53:08 -04:00
parent 8c8e889571
commit 9298a57211
1 changed files with 0 additions and 22 deletions

View File

@ -72,28 +72,6 @@ sudo nvidia-ctk runtime configure --runtime=docker --cdi.enabled
sudo systemctl restart docker sudo systemctl restart docker
``` ```
##### Rootless Mode
To configure the container runtime for Docker running in [Rootless mode](https://docs.docker.com/engine/security/rootless/), follow these steps:
1. Configure the container runtime by using the nvidia-ctk command:
```bash
nvidia-ctk runtime configure --runtime=docker --config=$HOME/.config/docker/daemon.json
```
2. Restart the Rootless Docker daemon
```bash
systemctl --user restart docker
```
3. Configure /etc/nvidia-container-runtime/config.toml by using the sudo nvidia-ctk command:
```bash
sudo nvidia-ctk config --set nvidia-container-cli.no-cgroups --in-place
```
### Sample Workload ### Sample Workload
After you install and configure the toolkit and install an NVIDIA GPU Driver, you can verify your installation by running a sample workload. After you install and configure the toolkit and install an NVIDIA GPU Driver, you can verify your installation by running a sample workload.