Skip to content

jackin eject

Terminal window
jackin eject <SELECTOR> [OPTIONS]

Stop a running agent container. In The Matrix, ejecting someone pulls them out of the simulation.

ArgumentRequiredDescription
SELECTORYesAgent class selector or container name
OptionDescription
--allStop every running instance of this agent class
--purgeAlso delete persisted state after stopping
Terminal window
# Stop a specific agent
jackin eject agent-smith
# Stop all instances of agent-smith
jackin eject agent-smith --all
# Stop and delete all persisted state
jackin eject agent-smith --purge
# Stop a specific container by name
jackin eject jackin-agent-smith-clone-1

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