I run Deepstack in an auto-restarting Docker container in WSL2. I do this using Task Scheduler as per the answer in this thread.
I have nothing against VMs. I use them for running PiHole, Home Assistant, my NAS, my system monitor, etc. But why do it if you don't have to?
Do you have the technical preview build of Docker? GPU support in Docker Desktop is a new feature not in the main release yet:
https://www.docker.com/blog/wsl-2-gpu-support-is-here/
The 24/7 recording is in case the AI fails to notice something, as I want something recorded. And I don't want to dedicate disk space resources to storing 24/7 4k streams.
Odd question. For others running AITool as a server, do you stop the server in Task Manager before opening the AITool program to make changes, see the history, etc?
I did similar to start with. I have evolved now to having this per camera:
Low res substream - 24/7 recording with no motion detection.
High res main stream that records video when triggered by AITool.
A second high res main stream that records JPEG resized to 1280x720 (and not video) on motion...