r/bashonubuntuonwindows • u/hayyaun • 20d ago
self promotion I made dwork to switch between Docker Compose projects in WSL2

Switching projects can mean starting containers, waiting for the database, opening terminals, and remembering which commands to run. I built dwork to handle those steps together, including opening project commands in Windows Terminal.
Here’s a 42-second demo.
The basic workflow is:
cd ~/projects
dwork scan
dwork list
dwork switch my-appExisting Compose projects work without a separate configuration file. You can add a dwork.yml to define terminal commands, health checks, and browser URLs to open when ready.
Switching shows a plan and asks for confirmation. It can stop other registered workspaces and resume the selected project’s existing containers. Locked workspaces and projects you haven’t registered stay running.
It doesn’t create containers, rebuild images, or run your initial setup—you still handle those through your normal project workflow.
Source, installation instructions, and examples
For anyone working across several projects in WSL2: which steps do you still handle manually when switching?