Access docker as a normal user from a docker running on a Windows WSL 2 Linux

Run the below command:

sudo chmod o+rw /var/run/docker.sock

This will enable non privileged users to run all docker commands, 

Comments