• Domi@lemmy.secnd.me
    link
    fedilink
    arrow-up
    11
    ·
    2 months ago

    Wait, Docker and Podman can create Windows VMs?

    I had winapps setup using QEMU quite a while ago but this seems like a much tidier setup.

    • FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      2 months ago

      Docker and Podman can’t run Windows VMs by themselves. These containers use QEMU, so it’s essentially a pre-made setup for what you already had.

      • Domi@lemmy.secnd.me
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        That’s a shame. Still very cool and much tidier than doing it directly but I thought you could actually pull windows:latest now and get going.

        • FooBarrington@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          That will unfortunately never be a thing. They could theoretically do a “Docker machine” like setup to support actual Windows containers, but there’s probably not enough interest in that.

    • Slotos@feddit.nl
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      Yeah, had to dive in myself.

      The answer is no, they can’t. You need to pass /dev/kvm and /dev/net/tun in a composefile for a reason.

      There’s no „windows in docker”, but rather „handy windows vm orchestrator with nice UI in a container”. A bit of a mouthful.