Open kenthurd opened 2 years ago
/mnt/wslg/
… that's finding the wrong mount point for WSL (in particular, it's finding /mnt/wslg
from Windows 11).
https://github.com/rancher-sandbox/rancher-desktop/blob/096181dd764b4f4fd2b8158bee8698f3a14213e7/src/go/nerdctl-stub/main_linux.go#L45-L61
Hi, Was this issue resolved ? as i am facing similar behavior
a workaround is to disable wslg in your /mnt/c/Users/
Actual Behavior
Executing the command
nerdctl compose -f docker-compose.yaml up
returns the error:FATA[0000] stat /mnt/wslg/rancher-desktop/run/nerdctl-tmp.3708648633/input.2320845827: no such file or directory
Steps to Reproduce
Execute the
nerdctl compose -f docker-compose.yaml up
command in a directory with thedocker-compose.yaml
file.Result
Executing the command returns the error
FATA[0000] stat /mnt/wslg/rancher-desktop/run/nerdctl-tmp.3708648633/input.2320845827: no such file or directory
The command fails, no containers are launched.
Expected Behavior
nerdctl should bring up the containers listed in the existing
docker-compose.yaml
file.Additional Information
The
docker-compose.yaml
file exists.I am unable to cd to
/mnt/wslg/rancher-desktop/run/nerdctl-tmp.3708648633
. I get a permission denied error.However, when I switch to sudo, I can then go to the directory, and confirm that the
input.2320845827
file does exist, and I can read the contents, which are the same as thedocker-compose.yaml
.Is this a permissions issue, or is something else going on?
Rancher Desktop Version
1.2.1
Rancher Desktop K8s Version
1.23.5
Which container runtime are you using?
containerd (nerdctl)
What operating system are you using?
Windows
Operating System / Build Version
Windows 11 Pro 21H2
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
No response