This message was deleted.
# rancher-desktop
a
This message was deleted.
e
I recommend using a different distro for the two use-cases, so the docker-desktop-integration doesn't get in your way. But if you don't want to do that, start DD and turn off the WSL integration.
w
what does
docker context ls
show in the client? seems like the context might just be set to the docker desktop option vs the rancher desktop
👍 1
h
While docker desktop is running from my wsl2 environment (if i understood that correctly): default * Current DOCKER_HOST based configuration unix:///var/run/docker.sock desktop-linux Docker Desktop npipe:////./pipe/dockerDesktopLinuxEngine When Rancher Desktop is running the docker command is just not available.
e
You have to enable the WSL2 integrationm with that distro in Rancher Desktop. As I said, I'd use another distro to experiment instead of mixing the two up. If you don't have the docker client, you can install it using your distro's package manager.
h
I enabled this in Rancher Desktop. I thought rancher would do it similar to docker desktop, that it provides the socket to my distribution, but you might be right, that docker desktop is to possesive about that. I will try setting up a second WSL distribution and see if it works better, when i never enabled docker desktop for it.
e
I would expect that, but DD actually links in there the docker client and compose, etc. Maybe RD doesn't. But you can install those yourself in the distro. But yes, separate distro means you can keep all the things separate. At least as you're finding your way around.
h
yeah and if i see improvements with RD i can just swap over. last time DD and/or WSL destroyed my containers so i have to freshly setup most things anyways. Might as well do it on 2 distributions.
👍 1
e
Are you doing something that requires kubernetes?
I'm duty-bound to tell you that on WSL2 docker-ce (the open-source Linux version of Docker) is the easiest and by far most reliable thing to use.
h
na, just some basic networked containers with docker-compose.
e
Both DD and rancher are far more complex and both are less reliable. (I'm maintainer of DDEV, which can use all of the above on multiple platforms)
h
i'm working on a legacy system that uses some kind of monolyth god container ^^ in there everything happens like nginx with dev vhosts, mariadb and so on that is setup with an ansible playbook. It sits in a docker network with other satelite containers for smaller services like pdf rendering and so on or as a backend for other CMS. At some point i might work on spliting that apart, but for now I just want to make it run together with some bigger containers that need more resources. And that combination already crashed my WSL twice. That's why i'm lookking for ways to take overhead out of it before i work on trying to set stuff up without that huge legacy container.
e
That's what you would be doing here. One WSL2 distro with docker-ce and everything else. But just telling you about the simplest environment.
👍 1
h
ok, will look into it