-
-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration Reference
Yusuke Abe edited this page Aug 10, 2026
·
3 revisions
wip.ymlの全キーを網羅するリファレンス。README の Configuration 節を、Kubernetes/Docker Compose の公式リファレンスのように「項目→意味→デフォルト値→注意点」の形式で再構成する。
-
version:/mode:の役割 - 設定ファイルの探索ルール(サブディレクトリからの実行、
--config PATH) -
wslc:ブロック(command: autoの探索順)
-
container:(プライマリコンテナの指定、dependencies:がある場合は必須) network:-
dependencies:の各エントリ(image,command,env,ports,volumes,workdir,restart) - プライマリ vs サイドカーの操作上の違い(
up/down/exec/run/build/interaction:の対象範囲) -
interaction:(commands:エイリアス、両方定義時のConfigError)-
type: exec/type: run/type: build - built-in コマンド名との衝突(
wip dispatch NAMEでの回避)
-
-
restart:とwip up --watchの関係- 対応値(
no/always/unless-stopped/on-failure[:MAX_RETRIES]) - ポーリング方式であることの制約(event-basedではない、
on-failureの終了コード判定はしない)
- 対応値(
-
compose:ブロック(service,command,file,project) -
dependencies:/network:との排他関係 - サードパーティ compose-for-wslc ツールの立ち位置(wip は勝者を選ばない)
- 対応コマンドの範囲(
up/down/exec/logs、runはexecへのフォールバック、type: run/build非対応)
-
compose:ブロック(service,file,project)との違い(command:なし、container:なし) - サポートする compose.yml サブセット一覧
- サービスレベル:
image,build,command,environment,ports/volumes(short syntax限定),working_dir,user,restart,depends_on(service_startedのみ) - 無視されるキー:
tty,stdin_open,networks - トップレベルで無視されるセクション:
networks:,volumes:,configs:,secrets: - 未対応キーを書いた場合の
ConfigErrorの挙動
- サービスレベル:
-
wip logsの単一サービス制限
- primary/sidecar の設計思想を図解
- ネットワーク作成タイミング(
wip up時に無ければ作成)
- 読み込みルール(
KEY=VALUE、コメント、export、クォート) - 優先順位(
env:が.envより優先) --env-file PATH
-
wip buildが.dockerignoreを尊重する仕組み -
shadow_contextによるビルドコンテキスト最適化(WSL2限定、/mnt/<drive>では無効)
- 全パラメータ一覧(
source,target,volume,mount,exclude,delete,command,options,interval,mode,image,build) -
sync.mode: execvsrunの使い分けとイメージ要件の違い - モード別デフォルトの違い(
container/compose-nativevscompose) -
wip init --templateごとのexcludeデフォルト一覧表 - ボリュームによるマウント書き換えルール
-
sync.buildの挙動(wip up/wip syncごとに1回ビルド、--watchループ開始前に1回) - 注意点(一方向同期であること、
delete: falseの使いどころ)
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