1.4 KiB
dockerwine
A way to get old Windows apps running in a browser.
This is a quick copy-and-paste from what I had figured out to get ProMash (a program I use to manage my homebrew recipe and sessions) running anywhere without having to first set up Wine. (I seem to recall having trouble getting it running under Windows 10 or 11, plus I had mostly been running it under Wine for the past 20 or so years anyway.)
This will work for programs that can be freely copied and run without needing to go through an installer. Maybe
you could coax an installer to run under it and then change settings to run the installed program; I haven't tried
this. In any case, copy this directory structure over your program's directory. Tweak root/defaults/autostart
to use the name of your program's main executable. You'll also need to fix docker-compose.yml to work with your
network. I use caddy-docker-proxy to publish a bunch of apps (including ProMash) on my home server, but if you
use something else, you'll want to either aim whatever proxy server you're using to port 8080 or include a ports
block to expose port 8080.
In any case, docker compose build && docker compose run -d will bring up the container. The first time it
starts, Wine will ask you to let it install wine-mono. If the application you want to run needs .NET, pick OK.
If it doesn't, it is safe to pick Cancel; you won't be asked about it again.