What are the best ways to run a game on sandboxed mode with only game HDD shared to it. There should not be network access for the game and there should be GPU (intel integrated) pass-through.

I have tried Gnome boxes, but GPU pass through is not working and checked distrobox, but that too shares HOME folder.

  • bruce965@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    7 hours ago

    Keep in mind that non-hardenized containers only protect you from bugs, they don’t protect you from sophisticated malware. If you suspect the software you are trying to run might be a virus, don’t run it, or run it in a virtual machine.

    I would recommend using containers only if you absolutely understand how to make them secure AND you have no reason to suspect the software you are running might contain nefarious code. In any other case use a virtual machine.

    • Washhouse0749
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      true enough, video acceleration is a bit harder / more expensive with an extra gpu, thats why i shyed away from suggesting vms

      • bruce965@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 hours ago

        Yeah, I realize that and that’s a nuisance for a videogame… If the game is small enough, OP might be able to give it a virtual GPU with VirtualBox, I did it in the past to play with friends on a single computer. I don’t know if the usual KVM-based VMs support it as well.