I'm setting up a small transcoding server inside a Windows 11 VM running on Unraid. The VM has Adobe Media Encoder for Premiere projects and HandBrake running through Docker Desktop with NVIDIA GPU acceleration. I'd like to drop projects or recordings into watch folders and have them automatically transcoded using the server's RTX 5060 Ti.
Because Media Encoder requires Windows, I need to keep this workflow inside the Windows VM. I'm also specifically trying to use HandBrake rather than another automation tool. The problem is that I can't determine where HandBrake's watch and output folders are located, and its web interface does not seem able to access my Unraid shares or other Windows folders.
I considered using Portainer to configure folder mappings, but it does not appear to work with my current Docker Desktop setup. How can I map HandBrake's input/watch folder and output folder to locations on the Windows VM or Unraid shares? I'd also appreciate advice on whether a simple PowerShell script or another setup would be more practical.
1 Answer
You can avoid Portainer entirely by defining the folder mappings in a `docker run` command or a Compose file. A simple PowerShell script can watch an incoming folder and launch the container with mappings for the input and output directories. That is probably easier to maintain than trying to configure everything through the web GUI.
For example, the conceptual mappings would be `Incoming` to `/input` and `Output` to `/output`. Also confirm that the Windows VM can access the Unraid share, that Docker Desktop has permission to use the relevant drive, and that the container user has permission to read and write those folders.

Related Questions
Extract Audio From Video File