Running another Linux distro on shared HPC or restricted VMs
Wine
Windows (on Linux/macOS)
None (user-space prefix)
Running legacy 32-bit/64-bit Windows apps and installers
1. Docker and Podman (Interactive Containers)
Docker and Podman share nearly identical CLIs (docker and podman are interchangeable in the commands below; Podman is attractive for rootless, daemonless setups).
Start an interactive shell
1 2 3 4 5 6 7 8
# Disposable shell (auto-deleted on exit) docker run -it --rm ubuntu:24.04 bash
# Reusable workspace mounted from $PWD docker run -it --name devbox -v "$PWD":/workspace -w /workspace ubuntu:24.04 bash
# GPU-capable container (when supported) docker run -it --gpus all --name gpu-ubuntu -v "$PWD":/workspace -w /workspace ubuntu:24.04 bash
-it: interactive stdin + TTY; --name: assign container name; --rm: remove on exit; -v host:container: persist files outside the container; -w: set working directory.
Manage lifecycle and transfer files
1 2 3 4 5
docker ps -a # List all containers (including stopped) docker start -ai devbox # Re-enter a stopped container docker rm [-f] devbox # Delete a container docker cp local.txt devbox:/workspace/ # Copy host -> container docker cp devbox:/workspace/out.txt ./ # Copy container -> host
2. PRoot (Rootless Linux Userland)
PRoot implements chroot, mount --bind, and binfmt_misc in user space without root or container runtimes.
Caveats:-0 only fakes UID 0; processes run natively on the host kernel with the host’s network/PID namespaces, and neither systemd nor background daemons are supported.
3. Wine (Mock Windows 7 32-bit Environment)
Wine isolates Windows configurations inside prefixes (WINEPREFIX, defaulting to ~/.wine).
In winecfg, open the Applications tab, set Windows Version to Windows 7, and click Apply / OK. Install extra DLLs or fonts (e.g., .NET, Visual C++) with winetricks:
1 2
export WINEPREFIX=~/wine-win7-32 winetricks
Always export WINEPREFIX before launching installers or Windows binaries in that prefix: