https://www.docker.com/products/docker-desktop
Enable WSL 2 Windows Features
Make sure that is checked.
Resouces
    Configure which WSL 2 distros you want to access Docker from
        Enable integration with my default WSL distro
    Enable integration with additional distros:
        Ubuntu-20.04
Make sure that is checked If checked, restart.
docker version
docker-compose version
        Recommended Posts