The command 'docker' could not be found in this WSL 1 distro code example
Example: The command 'docker' could not be found in this WSL 1 distro
#Check and switch to your wsl process with following:
wsl --list --verbose
wsl --set-version <your proc> 2