-
-
Notifications
You must be signed in to change notification settings - Fork 1
wip stop
Stops the primary container and every sidecar, without removing them.
wip stop
| Mode | What runs |
|---|---|
container |
wslc stop <container>, then wslc stop <name> for each sidecar |
compose-native |
the same, across every service from compose.yml
|
compose |
<compose command> -f FILE [-p PROJECT] stop |
Failures are non-fatal: wip continues through the rest of the list rather than aborting on the
first container that was already stopped or never existed. The command's own exit code is not
propagated, so wip stop on an already-stopped stack is a quiet no-op.
wip stop |
wip down |
|
|---|---|---|
| Container process | stopped | stopped |
| Container itself | kept | removed |
| Container filesystem changes | kept | lost |
| Named volumes | kept | kept |
| Network | kept | kept |
Next wip up
|
start — fast |
run --name … — recreates |
Use stop when you're done for the day and want to pick up where you left off. Use down when you
want a clean slate, or after changing ports: / volumes: / env: in wip.yml, since those only
take effect on creation.
If wip up --watch is running in another terminal, it may restart what you
just stopped: the loop checks whether a container is currently exited, not whether it exited on
its own. Ctrl-C the watch loop first.
Under compose-native, services behind profiles: are never started by wip, so they're not stopped
either. See Compose Profiles.
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