I’ve just installed Docker Desktop on a new Windows 10 pro install. Curiously, whilst I can start containers from a windows command shell, when I open a wsl shell I find that:
- docker and docker-compose are not in my path
- code is not in my path
so I do
# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
which appears to show that the windows path is not being appended to my path.
Note I have not installed any linux distro, just docker desktop and wsl2.