diff --git a/container-toolkit/install-guide.md b/container-toolkit/install-guide.md index 9b71bdc08..378454821 100644 --- a/container-toolkit/install-guide.md +++ b/container-toolkit/install-guide.md @@ -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//Users//.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/), @@ -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) \ No newline at end of file +- [](./sample-workload.md)