Hey!
I've installed Rancher Desktop for use with WSL2.
However, neither the docker nor the nerdctl command can be found when trying to run docker compose up or nerdctl compose up within WSL2. Am I missing something obvious?
w
wide-mechanic-33041
05/01/2023, 12:08 PM
Does the Diagnostics pane show anything? Sounds like possibly the bin directories were not added to your PATH
f
fast-garage-66093
05/01/2023, 3:40 PM
WSL2 is on Windows where the directories get added by the installer. The diagnostics don't check for that on Windows, and it is not configurable from inside the app.
One possible reason could be that you have not opened a new shell/terminal/cmd.exe session after running the installer because it can't update the environment of already running processes.
👍 1
w
wide-mechanic-33041
05/01/2023, 5:15 PM
yeah i have the linux/bin added to my PATH for access to the stubs and local binaries that connect into the WSL2 daemons