Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions container-toolkit/install-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,25 @@ backlinks: none
The `nvidia-ctk` command modifies the `/etc/docker/daemon.json` file on the host.
The file is updated so that Docker can use the NVIDIA Container Runtime.

1. Restart the Docker daemon:
2. Restart the Docker daemon:

```console
$ sudo systemctl restart docker
```

#### On WSL

With docker installed on windows running with the WSL backend the container runtime for Docker can be configured as

1. Configure the container runtime by using the `nvidia-ctk` command:
```console
$ sudo nvidia-ctk runtime configure --runtime=docker --config /mnt/<windows drive>/Users/<your user>/.docker/daemon.json
```

If your daemon configuration on windows is locate elsewhere the `--config` argument should be updated accordingly.

2. Restart the Docker daemon from windows

#### Rootless mode

To configure the container runtime for Docker running in [Rootless mode](https://docs.docker.com/engine/security/rootless/),
Expand Down Expand Up @@ -204,4 +217,4 @@ For Podman, NVIDIA recommends using [CDI](./cdi-support.md) for accessing NVIDIA
_[NVIDIA Driver Installation Quickstart Guide](https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html)_
for more information.

- [](./sample-workload.md)
- [](./sample-workload.md)