https://rancher.com/ logo
f

flaky-dusk-65029

10/14/2022, 6:12 PM
Q: Are Rancher Desktop, Podman Desktop and Docker Desktop able to co-exist? I'm on Windows 11 + WSL2 (Ubuntu 22.04) with administrator access to my dev machine. Docker in WSL doesn't work at all. Podman sorta works. Rancher Kubernetes/k3s seems to just hang upon startup.
w

wide-mechanic-33041

10/14/2022, 6:27 PM
i have them both on the same machine and they can coexist. you just need to remember which one you are running so you don’t create issues. docker context helps with that, but nerdctl doesn’t
👍 1
its not “supported” and if you try and brew install on mac it will bail because of the docker.sock possible collision, but you can manually traffic cop it pretty well
f

flaky-dusk-65029

10/14/2022, 6:34 PM
Right now I'm fighting with the fact that WSL2 doesn't have a systemd and apparently docker needs it. So what i'm hoping to accomplish is to have podman build
Dockerfile / Containerfile
s.. and play around with k8s manifests and helm.
w

wide-mechanic-33041

10/14/2022, 6:42 PM
well dockerd can get by without systemd (though it is coming soon) by using sudo and a script
Copy code
vi ~/.profile
RUNNING=`ps aux | grep dockerd | grep -v grep`
if [ -z "$RUNNING" ]; then
    sudo dockerd > /dev/null 2>&1 &
    disown
fi
👍 1
Docker Desktop and Rancher Desktop do much of the same thing by using init scripts to get things going
f

flaky-dusk-65029

10/14/2022, 7:22 PM
Thank you . I'll give it a shot! However I want to eventually be able to move beyond docker and practice k3s/k8s. so hence going fwd I would want to have rancher desktop. (containerd engine, if that matters)
w

wide-mechanic-33041

10/14/2022, 7:23 PM
yup and it should work. If you need a proxy in WSL2 well that might be more of an issue
f

flaky-dusk-65029

10/14/2022, 7:23 PM
how so? i honestly wanted to live in WSL2, because all of the scripting (bash) and coding (vscode) was going to be there.
w

wide-mechanic-33041

10/14/2022, 7:28 PM
proxy support in RD is a work in progress. Because WSL2 is a shared routing stack i have seen lots of issues with starting k3s w a proxy as the cluster traffic tries to egress
🙂 1
and as WSL2 network is dynamic doing a no_proxy is not trivial
🙌 1
510 Views