Skip to content

Commit e1c9465

Browse files
authored
build: note about cdi usage in WSL (#23304)
follow-up #23069 (comment) ## Related issues or tickets * docker/buildx#3320 ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review Signed-off-by: CrazyMax <[email protected]>
1 parent ec19565 commit e1c9465

File tree

1 file changed

+6
-0
lines changed
  • content/manuals/build/building

1 file changed

+6
-0
lines changed

content/manuals/build/building/cdi.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ in one of the following locations:
3838
> the `docker` driver, see [Configure CDI devices](/reference/cli/dockerd.md#configure-cdi-devices)
3939
> documentation.
4040
41+
> [!NOTE]
42+
> If you are creating a container builder on WSL, you need to ensure that
43+
> [Docker Desktop](../../desktop/_index.md) is installed and [WSL 2 GPU Paravirtualization](../../desktop/features/gpu.md#prerequisites)
44+
> is enabled. Buildx v0.27+ is also required to mount the WSL libraries in the
45+
> container.
46+
4147
## Building with a simple CDI specification
4248

4349
Let's start with a simple CDI specification that injects an environment variable

0 commit comments

Comments
 (0)