#productivity (2023-02)

Life Hacking Discussions

Archive: https://archive.sweetops.com/productivity/

2023-02-05

jonjitsu avatar
jonjitsu

I’m a linux user who started a new role whereby my workstation is windows 10. I’m trying to make this as comfortable for me as possible. I’ve setup wsl and podman desktop. Anyone have any articles along the lines of windows for linux users with tips on improving setup. I’m thinking of bridging the wsl network so that I can communicate between the wsl machines so that the podman wsl machine can be used as a docker replacement in my main wsl machine. Not sure if this is a good idea tho and would like to see how other windows users work with containers/k8s on windows.

Hao Wang avatar
Hao Wang

Vagrant + Linux

Hao Wang avatar
Hao Wang

always stay away from Windows lol

E-Love avatar

I’ve been using Rancher Desktop and it automatically makes the host available to all WSL distros. I’ve been wanting to try out Podman Desktop so I’ll give it a go and get back to you!

E-Love avatar

seems it’s not that simple so I think you’re on the right path using TCP

E-Love avatar

this is how it’s accessed from Windows (discovered by running podman system connection list and it works from other WSL distros. I’m not sure if there’s a better way (e.g. by mounting the socket across distros somehow):

podman system connection add --default --identity "$(wslpath "$(cmd.exe /c echo %USERPROFILE%)")/.ssh/podman-machine-default" podman-machine-default <ssh://[email protected]:57897/run/user/1000/podman/podman.sock>
podman system connection add --identity "$(wslpath "$(cmd.exe /c echo %USERPROFILE%)")/.ssh/podman-machine-default" podman-machine-default <ssh://[email protected]:57897/run/podman/podman.sock>
E-Love avatar

FWIW, all distros seem to share the same IP and localhost, which feels surprising

jonjitsu avatar
jonjitsu

actually I think they share the same kernel similar to containers

jonjitsu avatar
jonjitsu

if you got rancher desktop running why are you pursuing podman?

jonjitsu avatar
jonjitsu

I use one main distro install and have podman/docker installed in it and do everything from that distro.

jonjitsu avatar
jonjitsu

vpnkit also came in handy since I always need to connect to vpns and that seems to muck up the networking in wsl

2023-02-18

    keyboard_arrow_up