-
-
Notifications
You must be signed in to change notification settings - Fork 1
Concepts
Yusuke Abe edited this page Aug 10, 2026
·
3 revisions
wipが何を解決するツールで、どういう設計判断をしているかをまとめるページ。README の断片的な説明を一箇所に集約する。
-
wipとは何か-
dipライクなワークフローを WSLC 向けに提供する CLI -
wslc.exe/wslcへ安全な引数配列として委譲する(シェル展開なし)という設計方針
-
- 3つのモードという中心概念
-
mode: container— wip がコンテナを直接管理(デフォルト) -
mode: compose— サードパーティの compose-for-wslc ツールへ委譲 -
mode: compose-native— wip 自身がcompose.ymlをパースしてwslcを直接操作 - 「どのモードを使うべきか」の判断表(README の表を転載 + 判断フローチャート化)
-
- 用語集
- primary container / dependencies / sidecar
- interaction(
commands:との別名関係) - sync volume, bind mount, shadow context
-
wslcのWslcContainerState(invalid/created/running/exited/deleted)
- アーキテクチャ上の制約・ポリシー
- 常駐デーモンを持たない(
--watch系はすべて「開いた端末に紐づくフォアグラウンドループ」) - 引数はシェル文字列ではなく配列で渡す(インジェクション対策)
-
compose-nativeは Compose 仕様のサブセットのみ対応し、対象外キーはConfigErrorになる
- 常駐デーモンを持たない(
- 図解候補
- モード別のアーキテクチャ図(wip → wslc、wip → 外部compose tool → wslc、wip → compose.yml parser → wslc)
- sync構成図(host source → read-only mount / named volume 経由でコンテナへ)
Introduction
Modes
Configuration
- Configuration Reference
- Config File Discovery
- Dependencies
- Networking
- Interactions
- Restart Policies
- Env Files
- Secret Masking
- Dockerignore
- Shadow Build Context
- Source Sync
- Sync Modes
compose.yml support
- Compose File Support
- Compose Build
- Compose Depends On
- Compose Profiles
- Compose Variable Interpolation
Commands
- CLI Command Reference
- wip init
- wip version
- wip doctor
- wip config
- wip build
- wip up
- wip stop
- wip down
- wip exec
- wip run
- wip shell
- wip logs
- wip sync
- wip dispatch
- Global Options
- Debug Output
- TTY Allocation
Guides
- Guides
- Migrating from dip
- Reusing an Existing compose.yml
- Fixing a Slow Boot
- Continuous Sync
- Auto Restarting Containers
- Multi Arch Images
- Using wip in CI
Troubleshooting
- Troubleshooting & FAQ
- FAQ
- Configuration Errors
- WSLC Not Found
- Registry Authentication
- Architecture Mismatch
- Volume Limit Reached
- rsync Not Found
- Reporting Issues
Comparison
Project