You are not logged in.

#1 2025-08-22 16:37:46

Techttv
Member
Registered: 2025-07-09
Posts: 6

Winapps + Podman + Nvidia GPU

Hi guys,
I finally found out a way to run Adobe Suite and that's WinApps!
Is really great and quite easy to install.
Btw I'm struggling to make podman use my gpu in winapps.
This is my configuration for the container.
I tried every command I found, generated the nvidia-cdi file and ect.
Before podman I tried docker too. No sign of gpu passthrough.
Atm everything is updated.

# For documentation, FAQ, additional configuration options and technical help, visit: https://github.com/dockur/windows

name: "winapps" # Docker Compose Project Name.
volumes:
  # Create Volume 'data'.
  # Located @ '/var/lib/docker/volumes/winapps_data/_data' (Docker).
  # Located @ '/var/lib/containers/storage/volumes/winapps_data/_data' or '~/.local/share/containers/storage/volumes/winapps_data/_data' (Podman).
  data:
    external: true
services:
  windows:
    image: ghcr.io/dockur/windows:latest
    container_name: WinApps # Created Docker VM Name.
    environment:
      # Version of Windows to configure. For valid options, visit:
      # https://github.com/dockur/windows?tab=readme-ov-file#how-do-i-select-the-windows-version
      # https://github.com/dockur/windows?tab=readme-ov-file#how-do-i-install-a-custom-image
      VERSION: "11"
      RAM_SIZE: "8G" # RAM allocated to the Windows VM.
      CPU_CORES: "6" # CPU cores allocated to the Windows VM.
      DISK_SIZE: "64G" # Size of the primary hard disk.
      # DISK2_SIZE: "32G" # Uncomment to add an additional hard disk to the Windows VM. Ensure it is mounted as a volume below.
      USERNAME: "#####" # Edit here to set a custom Windows username. The default is 'MyWindowsUser'.
      PASSWORD: "#####" # Edit here to set a password for the Windows user. The default is 'MyWindowsPassword'.
      HOME: "${HOME}" # Set path to Linux user home folder.
    ports:
      - 8006:8006 # Map '8006' on Linux host to '8006' on Windows VM --> For VNC Web Interface @ http://127.0.0.1:8006.
      - 3389:3389/tcp # Map '3389' on Linux host to '3389' on Windows VM --> For Remote Desktop Protocol (RDP).
      - 3389:3389/udp # Map '3389' on Linux host to '3389' on Windows VM --> For Remote Desktop Protocol (RDP).
    cap_add:
      - NET_ADMIN  # Add network permission
    stop_grace_period: 120s # Wait 120 seconds before sending SIGTERM when attempting to shut down the Windows VM.
    restart: on-failure # Restart the Windows VM if the exit code indicates an error.
    volumes:
      - /mnt/desktopTommi/Users/tomma/docker-volume/winapps_data:/storage # Mount volume 'data' to use as Windows 'C:' drive.
      - ${HOME}:/shared # Mount Linux user home directory @ '\\host.lan\Data'.
      #- /path/to/second/hard/disk:/storage2 # Uncomment to create a virtual second hard disk and mount it within the Windows VM. Ensure 'DISK2_SIZE' is specified above.
      - ./oem:/oem # Enables automatic post-install execution of 'oem/install.bat', applying Windows registry modifications contained within 'oem/RDPApps.reg'.
      #- /path/to/windows/install/media.iso:/custom.iso # Uncomment to use a custom Windows ISO. If specified, 'VERSION' (e.g. 'tiny11') will be ignored.
    devices:
      - /dev/kvm # Enable KVM.
      - /dev/net/tun # Enable tuntap
      # Uncomment to mount a disk directly within the Windows VM.
      # WARNING: /dev/sdX paths may change after reboot. Use persistent identifiers!
      # NOTE: 'disk1' will be mounted as the main drive. THIS DISK WILL BE FORMATTED BY DOCKER.
      # All following disks (disk2, ...) WILL NOT BE FORMATTED.
      # - /dev/disk/by-id/<id>:/disk1
      # - /dev/disk/by-id/<id>:/disk2
    # group_add:      # uncomment this line and the next one for using rootless podman containers
    #   - keep-groups # to make /dev/kvm work with podman. needs "crun" installed, "runc" will not work! Add your user to the 'kvm' group or another that can access /dev/kvm.
    command: nvidia-smi
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]

Offline

#2 2025-08-26 19:40:26

snowe
Member
Registered: 2025-08-26
Posts: 3

Re: Winapps + Podman + Nvidia GPU

Did you ever find a solution for this? Meshmixer will not start in winapps unless a gpu is detected (I believe) and so I need to do passthrough as well. Passthrough works through non-windows vms, but not the winapps one. I'm guessing something more needs to be done in windows.

Offline

#3 2025-08-28 12:32:07

Techttv
Member
Registered: 2025-07-09
Posts: 6

Re: Winapps + Podman + Nvidia GPU

I tried installing nvidia drivers but of course the gpu is not detected. I found this guide to do single gpu-passthrough but it's so inconvinient. You can use only one system at the time. When you start winapps with single gpu-passthrough the other system is untouchable. Like freezed (as far as I know). This is the guide I found

Offline

#4 2025-08-29 03:33:46

everleighbritannia
Member
Registered: 2025-08-22
Posts: 2

Re: Winapps + Podman + Nvidia GPU

I find the topic “Winapps + Podman + Nvidia GPU” quite interesting, especially when it comes to leveraging the GPU to run Windows applications inside a Linux environment. Personally, I’ve tested some graphics-intensive apps and noticed a clear performance boost when properly configured. It actually makes me think about gaming—like Roblox, which many people try to run through Wine or Lutris. While it doesn’t always run smoothly on Linux, with GPU optimization as discussed here, even testing something like Roblox APK in an emulated setup could become much easier.

Offline

Board footer

Powered by FluxBB