• Blackmist@feddit.uk
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    8 hours ago

    I tried to get the *arr stack running on it at one point, using Docker.

    Do not do this. Just install the Windows apps. Yes, it’s a mess. Yes, they work.

      • Blackmist@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        It was a while ago now, bit I think it was trying to get all the individual bits to talk to each other (radarr to prowlarr, etc). I was following some guide and that’s where it all fell apart.

        • kamen@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 hour ago

          Sounds like a network configuration issue of the containers - you either have to use the host network (probably not recommended) or to map the necessary ports of each app. But trying to do that in WSL sounds like an extra layer of fuckery that you don’t necessarily have to deal with. Running Docker directly on Windows sounds like the more sane thing to do in that case.

    • forrcaho@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      42 minutes ago

      I only use Windows because I have to work with a corporation’s IT helpdesk staff to get on their VPN if I want to do contract work for them. They are not likely to help me get connected from Linux; they’ll just find another contract dev. Once in, I do everything in Linux because my code will ultimately run in a Linux cloud container of some sort. WSL works well enough for me to do this. I’d rather have Linux on bare metal, but whatever. I’m in; I’m coding; I’m getting paid. I’ll put up with a little bit of suck.

    • pool_spray_098@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 hours ago

      I love having it at work, so I can write and run bash scripts on my Windows work PC.

      I have dozens if Linux servers available to me but sometimes it just is easier to run a script locally.

    • x00z@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      5 hours ago

      Run Linux stuff on Windows.

      A big use case is development with Docker containers.

      • DigitalDilemma@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 hours ago

        Thanks - I can kind of see that, as docker on windows is majorly broken. I think I’d just run it in a linux vm, as I do with most of my developing, but I can see some might not want that overhead.

        • rmuk@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 hours ago

          That’s the best bit about WSL (at least, version 2) is that it is a VM running a full version of Linux using Microsoft Hypervisor. There’s a bunch of drivers included that allow Windows and Linux to share filesystems and if you run Wayland/X apps in Linux they run on the Windows desktop.

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    128
    ·
    1 day ago

    When using WSL, be sure to not mention anything about that when reporting bugs because that’ll just confuse the issue for the maintainers. They like having that casually mentioned about 20 messages into the troubleshooting process.

    • DacoTaco@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      15 hours ago

      Pff, issue reports should ask for the output of ‘uname -ar’. It clearly shows its wsl as wsl runs a special kernel

    • chingadera@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      22 hours ago

      I’m a big fan of going on WSL forums and letting them know everything is working well for give or take 20 messages, then I let them know I need help troubleshooting.

  • grrgyle@slrpnk.net
    link
    fedilink
    arrow-up
    32
    arrow-down
    2
    ·
    21 hours ago

    When someone ask for help with a Linux issue: 🤩

    It’s a wsl bug: 🤭

  • wdx@feddit.org
    link
    fedilink
    arrow-up
    32
    ·
    22 hours ago

    Me looking disgusted at myself in the mirror, for I am doomed towards eternal Microsoft-dependency at work.

    Still better than cygwin

  • foggy@lemmy.world
    link
    fedilink
    arrow-up
    81
    ·
    edit-2
    1 day ago

    I don’t think anyone is a “wsl user” so much as they’ve found themselves in a position where the lowest friction solution is utilizing wsl for a given situation.

    Around 2019, even up until like 2022 if you wanted to run docker in windows, that was how to do it.

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      6
      ·
      7 hours ago

      That’s where I was a few years ago, and then I switched back to proper Linux. I was only keeping Windows at all for games, but then most of the games I played started working fine on Linux (thank you, Valve).

      Plus, I tried doing some TensorFlow stuff with CUDA (Nvidia) GPU acceleration. In theory, you can do it in pure Windows, but nobody has bothered trying to do that. You’re on your own if you try it. The usual way is to do GPU passthrough to WSL. There have been three different ways to do that over the years, only one of which currently works. If you happen to Google a page that tells you one of the wrong ways, there’s a good chance you’ll need to reinstall to get it working the right way.

      Using pure Linux for this stuff is no problem. Just use Nvidia’s server drivers instead of gaming drivers. All the AI datacenters are using Nvidia GPUs on Linux, so Nvidia is highly motivated to make this work. Someday, Windows might be as easy to use as Linux.

    • coconut@programming.dev
      link
      fedilink
      English
      arrow-up
      28
      ·
      23 hours ago

      I learned the shell in wsl before I switched to Linux full time. I wasn’t trying to learn it intentionally. Just didn’t want to develop software on windows. It’s a great gateway drug that reduces friction by a lot.

    • folkrav@lemmy.ca
      link
      fedilink
      arrow-up
      8
      ·
      21 hours ago

      Pretty much my situation. Work stuff, Windows machine, but Linux/Docker workflow and I refuse to let go of my POSIX shell.

    • Narwhalrus@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      20 hours ago

      What’s the current best way to run docker on Windows?

      I’m still using wsl(2) for that in 2025 because it seems to be the path of least resistance on Win11.

      • foggy@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        20 hours ago

        That could very well be the best practice. I haven’t had to run docker in windows since then.