Docker Community Forums

Share and learn in the Docker community.

WSL2 Windows Insider 20257.1 Docker Desktop 2.5.` (49550) docker: unrecognized service

On WSL2 the following works:
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

The following works:
$ docker run hello-world
Unable to find image ‘hello-world:latest’ locally
latest: Pulling from library/hello-world
0e03bdcc26d7: Pull complete
Hello from Docker!
This message shows that your installation appears to be working correctly.

The following fails:
$ sudo service docker start
docker: unrecognized service

The following fails:
$ docker run --gpus all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark
docker: Error response from daemon: could not select device driver “” with capabilities: [[gpu]].
ERRO[0018] error waiting for container: context canceled

All network tricks fail to make it work.
Helop would be appreciated.