wslc-compose is a tool designed to run Docker Compose files on Microsoft's WSL containers (wslc). It implements essential Docker Compose commands such as up, down, ps, logs, build, exec, and run, directly driving wslc.exe.
Key Features:
Runs Docker Compose files in WSL containers without relying on Docker.
Implements essential commands for container management.
Supports features like image building, environment variables, ports, volumes, networks, and health checks.
Provides a command-line interface to manage containers efficiently.
Target Audience and Benefits:
Ideal for developers using Windows 11 who want to use WSL containers without Docker. This tool simplifies container orchestration, enabling smooth application development and testing in a lightweight environment.
Available via WinGet, you can install wslc-compose easily with winget install danything.wslc-compose, making it accessible for efficient deployment and management of your applications.
wslc-compose up -d
wslc-compose ps
wslc-compose logs -f web
wslc-compose exec web sh
wslc-compose run --rm web php artisan migrate
wslc-compose down -v
wslc-compose config # 実際に実行する wslc のコマンドを表示
全コマンドは wslc-compose --help。メッセージは Windows の表示言語が日本語なら日本語、それ以外は英語
(WSLC_COMPOSE_LANG=ja|en で切り替えられる)。