https://rancher.com/ logo
Title
m

magnificent-knife-53739

08/05/2022, 6:06 PM
Hi friends, i have another issue that i want to share with you: • Environment: ◦ MacBook Pro (Intel Chip) ◦ Rancher Desktop 1.5 + Containerd runtime + nerdctl ◦ When running the first time i got
Cannot connect to the Docker daemon at unix:///var/run/docker.sock
◦ i run (as suggested in github issue) ->
sudo ln -s ~$USER/.rd/docker.sock /var/run/docker.sock
After this changes when i try to download and build new containers i got this:
error during connect: Get "<http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.project%3Ddocker-stack%22%3Atrue%7D%7D&limit=0>": EOF
Is this happen to somebody? I think maybe i miss some steps in configuration or something like that. Thanks in advance!
c

curved-zebra-30454

08/05/2022, 7:10 PM
Although we've only reproduced in a Linux VM, I'm wondering if the behavior you're seeing could be related to issue #2654
w

wide-mechanic-33041

08/05/2022, 7:14 PM
i primarily user dockerd and the context use for managing rootless so having a hard time doing a repro. Have you tried a factory reset? rootless should just work w/o the /var/run I think. I know I just have ~/.rd/docker.sock and no link.
m

magnificent-knife-53739

08/05/2022, 7:25 PM
I’ll try the factory reset as @wide-mechanic-33041 suggest! (You have reason containerd is rootless shouldn’t need access to that socket) Thanks! I’ll come back to you with the result
w

wide-mechanic-33041

08/05/2022, 7:27 PM
just a thought. i checked nerdctl namespace and nothing jumped out in the default one
k

kind-iron-72902

08/06/2022, 12:17 AM
When you're running with
containerd
there is no
docker.sock
file -- it uses
containerd.sock
:thumbsup_all: 1