Error running Docker on WSL

I can not run docker on WSL. Docker is updated to most recent version.

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as ‘legacy’
nvidia-container-cli: initialization error: WSL environment detected but no adapters were found: unknown.

*-display
description: 3D controller
product: Microsoft Corporation
vendor: Microsoft Corporation
physical id: 0
bus info: pci@cc44:00:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=dxgkrnl latency=0
resources: irq:0

It looks like there was a similar issue before:

There was a new comment there 10 days ago so maybe the issue came back again.

If it is a bug in Docker Desktop, you can report it on GitHub