stop
Recipe card from the charly-core plugin (Commands — runtime CLI verbs).
charly stop – Stop Service Container
Section titled “charly stop – Stop Service Container”Overview
Section titled “Overview”Stops a running service container. In quadlet mode, stops the systemd user service. In direct mode, stops the container via the container engine.
Relationship to charly bundle del — charly stop <name> is the ergonomic wrapper for charly bundle del <name> on a container deploy. The two are interchangeable for container deploys; charly bundle del host is required for the host-target teardown path (which runs ReverseOps, removes env.d files, and strips the shell managed block). See /charly-core:deploy and /charly-local:local-deploy.
Quick Reference
Section titled “Quick Reference”| Action | Command | Description |
|---|---|---|
| Stop service | charly stop <image> |
Stop the running container |
| With instance | charly stop <image> -i 2 |
Stop a specific instance |
| Stop + tear down FUSE | charly stop <image> --unmount |
Stop the container AND unmount encrypted volumes (drops charly-enc-<image>-<volume>.scope units) |
# Stop a running servicecharly stop jupyter
# Stop a specific instancecharly stop ollama -i 2
# Stop and tear down encrypted FUSE mounts in one stepcharly stop immich --unmount| Flag | Description |
|---|---|
-i, --instance INSTANCE |
Target a specific container instance |
--unmount |
After the container stop succeeds, also tear down charly-enc-<image>-<volume>.scope units via encUnmount. Best-effort: per-volume unmount failures emit a warning but don’t propagate (the container has already stopped; the user can retry with charly config unmount <image>). Default false — plain charly stop leaves gocryptfs scopes running so they survive container restart (the original load-bearing design from /charly-automation:enc). |
Behavior
Section titled “Behavior”- Quadlet mode: Runs
systemctl --user stop charly-<image>.service - Direct mode: Runs
<engine> stop <container> - Does not remove the container or its configuration – use
charly removefor that - Does not disable the service – the container may restart on next login if enabled
- To stop and disable:
charly start <image> --enable=falsethencharly stop <image> - By design, plain
charly stopdoes NOT tear down encrypted FUSE mounts — thecharly-enc-*.scopeunits are deliberately decoupled from the container service cgroup so they surviveKillMode=mixedon stop and let the next start fast-path through thecharly config mountshort-circuit. Use--unmountfor the full teardown semantics.
Cross-References
Section titled “Cross-References”-
/charly-build:pull– Prerequisite: fetch the image into local storage; handles remote refs (@github.com/...) and theErrImageNotLocalrecovery path -
/charly-core:start– Start services -
/charly-core:remove– Remove containers, quadlets, and deploy config -
/charly-core:charly-status– Check service status