From c6b0f82cb7b08e34da9f8e3c15aca2448f511983 Mon Sep 17 00:00:00 2001 From: Chris Crone Date: Tue, 16 Feb 2021 11:00:19 +0100 Subject: [PATCH 1/2] compose.gpu: Fix prerequisites link Signed-off-by: Chris Crone --- compose/gpu-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/gpu-support.md b/compose/gpu-support.md index 7af6e968c1..810d0c6b67 100644 --- a/compose/gpu-support.md +++ b/compose/gpu-support.md @@ -4,7 +4,7 @@ keywords: documentation, docs, docker, compose, GPU access, NVIDIA, samples title: Enabling GPU access with Compose --- -Compose services can define GPU device reservations if the Docker host contains such devices and the Docker Daemon is set accordingly. For this, make sure to install the [prerequisites](../_data/engine-cli/docker_run.yaml) if you have not already done so. +Compose services can define GPU device reservations if the Docker host contains such devices and the Docker Daemon is set accordingly. For this, make sure to install the [prerequisites](/config/containers/resource_constraints/#gpu) if you have not already done so. The examples in the following sections focus specifically on providing service containers access to GPU devices with Docker Compose. You can use either `docker-compose` or `docker compose` commands. From 0e8576d5c087118e760c607a30d9bb39158e5471 Mon Sep 17 00:00:00 2001 From: Usha Mandya <47779042+usha-mandya@users.noreply.github.com> Date: Tue, 16 Feb 2021 10:24:11 +0000 Subject: [PATCH 2/2] Updated the link to use relative path --- compose/gpu-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/gpu-support.md b/compose/gpu-support.md index 810d0c6b67..31ba3ad739 100644 --- a/compose/gpu-support.md +++ b/compose/gpu-support.md @@ -4,7 +4,7 @@ keywords: documentation, docs, docker, compose, GPU access, NVIDIA, samples title: Enabling GPU access with Compose --- -Compose services can define GPU device reservations if the Docker host contains such devices and the Docker Daemon is set accordingly. For this, make sure to install the [prerequisites](/config/containers/resource_constraints/#gpu) if you have not already done so. +Compose services can define GPU device reservations if the Docker host contains such devices and the Docker Daemon is set accordingly. For this, make sure to install the [prerequisites](../config/containers/resource_constraints.md#gpu) if you have not already done so. The examples in the following sections focus specifically on providing service containers access to GPU devices with Docker Compose. You can use either `docker-compose` or `docker compose` commands.