Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WSL section in install-guide.md #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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)