https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
f

flat-shoe-2195

08/17/2022, 4:47 PM
Hey, How is the
~/.rd/docker.sock
created? I’m trying to understand how Rancher works internally, but can’t figure out how is the socket for the docker communication created.
p

proud-jewelry-46860

08/17/2022, 5:44 PM
We tell lima to do the forwarding for us (that is, lima sets up the socket directly), via https://github.com/rancher-sandbox/rancher-desktop/blob/main/src/backend/lima.ts#L695-L707 — you can see this by looking at
~/Library/Application Support/rancher-desktop/lima/0/lima.yaml
(mac) /
~/.local/share/rancher-desktop/lima/0/lima.yaml
(linux).
52 Views