Error starting docker: Error response from daemon: 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

I’m trying to run https://replicate.com/andreasjansson/stable-diffusion-animation on my own computer. Following the guide from that page in

Run on your own computer with docker directly

I try to run

docker run -d -p 5000:5000 --gpus=all r8.im/andreasjansson/stable-diffusion-animation@sha256:b8cb0e3516a1383a46ed5d773b11d495fe39cf921b3d79ce5407ab980494f75b

but i get the following error, regardless of whether I run it inside WSL or not:

>docker run -d -p 5000:5000 --gpus=all r8.im/andreasjansson/stable-diffusion-animation@sha256:b8cb0e3516a1383a46ed5d773b11d495fe39cf921b3d79ce5407ab980494f75b
6c49a94bd305e430ec931717d514997b9c2b7b8dd7aaee92432813688c64dd5c
docker: Error response from daemon: 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.

I’m on a windows 11 home computer, and I tried this in WSL 2. This is the output when running docker --version: `Docker version 20.10.17, build 100c701``, on both systems (WSL and windows).
What am I doing wrong here?

I’m getting the same error trying to get GPUs working in a docker container on Windows 10. Did you ever figure out the source of this error?