• Blackmist@feddit.uk
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    5 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.

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    120
    ·
    23 hours 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
      13
      ·
      13 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
      19 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
    30
    arrow-down
    2
    ·
    19 hours ago

    When someone ask for help with a Linux issue: 🤩

    It’s a wsl bug: 🤭

  • wdx@feddit.org
    link
    fedilink
    arrow-up
    31
    ·
    20 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
    76
    ·
    edit-2
    23 hours 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
      4
      ·
      4 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
      ·
      20 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
      ·
      18 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
      4
      ·
      18 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
        3
        ·
        17 hours ago

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