jackin eject
Synopsis
Section titled “Synopsis”jackin eject <SELECTOR> [OPTIONS]Stop a running agent container. In The Matrix, ejecting someone pulls them out of the simulation.
Arguments
Section titled “Arguments”| Argument | Required | Description |
|---|---|---|
SELECTOR | Yes | Agent class selector or container name |
Options
Section titled “Options”| Option | Description |
|---|---|
--all | Stop every running instance of this agent class |
--purge | Also delete persisted state after stopping |
Examples
Section titled “Examples”# Stop a specific agentjackin eject agent-smith
# Stop all instances of agent-smithjackin eject agent-smith --all
# Stop and delete all persisted statejackin eject agent-smith --purge
# Stop a specific container by namejackin eject jackin-agent-smith-clone-1What gets cleaned up
Section titled “What gets cleaned up”When you eject an agent:
- The agent container is stopped and removed
- The DinD sidecar container is stopped and removed
- The per-agent Docker network is removed
When you add --purge:
- All of the above, plus persisted state at
~/.jackin/data/<container-name>/is deleted