Docker Compose for WSL containers.

Windows 11 can now run Linux containers natively with wslc.exe, no Docker Desktop required. It just doesn't come with Compose. rcompose fills that gap: point it at your existing compose.yaml and run rcompose up.

PS>irm https://ricardoborges.github.io/rcompose/install.ps1 | iex

Installs to %LOCALAPPDATA%\Programs\rcompose and adds it to your PATH. No admin rights. Works on x64 and ARM64.

Same commands you already know

If you've used docker compose, there's nothing new to learn. From any folder with a compose file:

# start everything in the background
rcompose up -d

# see what's running, then follow the logs
rcompose ps
rcompose logs -f

# open a shell in a service
rcompose exec web sh

# stop and clean up
rcompose down -v

Also there: build, pull, start, stop, restart and config, along with -f, -p, --env-file and --profile.

What it does for you

Before you install

You need Windows 11 with the WSL container preview installed, so that wslc.exe is available. rcompose finds it through WSLC_BIN, then your PATH, then C:\Program Files\WSL\wslc.exe.

To update, run the install command again. To pin a version, set $env:RCOMPOSE_VERSION = "v0.1.0" first. Prefer building from source? cargo install --path crates/rcompose-cli from a clone of the repository works too.