#productivity (2023-02)
Life Hacking Discussions
Archive: https://archive.sweetops.com/productivity/
2023-02-05
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.
Vagrant + Linux
always stay away from Windows lol
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!
seems it’s not that simple so I think you’re on the right path using TCP
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>
FWIW, all distros seem to share the same IP and localhost, which feels surprising
actually I think they share the same kernel similar to containers
if you got rancher desktop running why are you pursuing podman?
I use one main distro install and have podman/docker installed in it and do everything from that distro.
vpnkit also came in handy since I always need to connect to vpns and that seems to muck up the networking in wsl