I am getting
The command 'docker' could not be found in this WSL 1 distro. We recommend to convert this distro to WSL 2 and activate the WSL integration in Docker Desktop settings.
in my ubuntu. I am trying to download the wsl from administrator cmd with wsl --instal command but it doesn't do anything. It doesn't load anything or doesn't give any error.
How can i install wsl 2 properly for docker ubuntu?
CodePudding user response:
To convert wsl1 to wsl2 check this
And to run docker check this Microsoft doc
CodePudding user response:
Restarting your computer, if you using Docker Desktop...trust me
Your docker doesn't using wsl2, it's a bug on restart docker.