Visual Studio Code Extension for Torizon doesn't work in WSL

I followed these instructions to install Visual Studio Code Extension for Torizon in WSL.
But when I start it, it hangs in

[01-10 12:01:01.350] Initializing Torizon Extension
[01-10 12:01:01.386] Checking system setup...
[01-10 12:01:01.387] Docker does not seem to be installed on your PC (or shared inside this container), this will prevent many of the features of Torizon extension from working.
[01-10 12:01:01.388] Checking Moses ...
[01-10 12:01:01.389] Starting backend local instance running on port 5000
[01-10 12:01:09.031] Torizon Backend version 1.0.0 API version: 1.1.7
[01-10 12:01:09.032] Torizon IDE backend started
[01-10 12:01:09.033] Checking Docker ...

In my WSL Ubuntu-22.04 I get


$ which docker
/usr/bin/docker
$ docker --version
Docker version 23.0.1, build a5ee5b1

This seems similar to this discussion, so I followed the instruction here:
https://docs.docker.com/engine/install/ubuntu/

But it doesn’t work.

From wsl terminal

$ docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

Can you help, please?

I was able to solve with an additional step.
I had to enable systemd, as described here.
I created a file /etc/wsl.conf with the content

[boot]
systemd=true

and restart my Ubuntu WSL.

Now I can run docker run hello-world successfully