Overview
Stops Moorcheh Docker containers started by moorcheh up. Your data in ~/.moorcheh/data is not deleted.
Synopsis
Options
| Flag | Description |
|---|
| (none) | If config uses openai/cohere: stop server only. If ollama: stop server + moorcheh-ollama when running |
--use-host-ollama | Stop only the Moorcheh server container; leave moorcheh-ollama running if present |
--bundled-ollama | Same as default — full compose teardown including bundled Ollama |
You cannot use --bundled-ollama and --use-host-ollama together (exit code 1).
--use-host-ollama does not stop Ollama running on your host (outside Docker). It only skips stopping the moorcheh-ollama container.
Examples
# Stop everything (default)
moorcheh down
# Stop server only — keep moorcheh-ollama container if it was started
moorcheh down --use-host-ollama
Output
Docker compose progress may print to stdout/stderr, for example:
Container moorcheh-onprem-server Stopping
Container moorcheh-onprem-server Removed
Container moorcheh-ollama Stopping
Container moorcheh-ollama Removed
No JSON output. After moorcheh down, moorcheh status fails until you run moorcheh up again.
Exit codes
| Code | Meaning |
|---|
0 | Containers stopped |
1 | Conflicting flags or Docker compose error |