Commandpython
/stop Command
Stop JupyterHub platform and clean up orphaned containers
Stop the JupyterHub platform and clean up dangling images, containers, networks, and volumes.
Use the Bash tool to run:
make clean
This will:
- Stop and remove all containers defined in compose.yml
- Remove orphaned containers not defined in the compose file
- Prune dangling Docker images
- Prune unused Docker networks
- Clean up resources to free disk space
After completion, inform the user that:
- The platform has been stopped
- Orphaned containers have been removed
- Dangling images and networks have been pruned
- The environment is clean and ready for a fresh start
If any background log monitoring sessions are still running, remind the user they can kill them using the KillShell tool.