Container-Host-AIops
Container-Host-AIops is an open-source AI operations tool for non-orchestrated container hosts (Docker Engine, Portainer, Podman), licensed under MIT, maintained by the community, and not affiliated with vendors such as Docker or Portainer. It provides read and write operations on container hosts through a CLI and an MCP server, with built-in governance mechanisms: a unified audit log, runaway-call and budget protection, and undo-token records for reversible writes. Core analysis capabilities include restart-loop root cause analysis (combining restart counts and exit-code mappings to likely causes and remediation suggestions), resource pressure analysis (comparing CPU/memory usage of running containers against configured limits), and image and volume bloat analysis (counting reclaimable bytes from dangling images, dangling volumes, and build cache). The tool provides 38 MCP tools (29 read, 9 write), and all operations are recorded to a local audit database through the @governed_tool governance layer. Write operations support --dry-run preview and secondary confirmation, and reversible operations record reverse descriptors. Credentials (Portainer API tokens) are stored encrypted. Note: the tool only records operations and does not decide whether a write is permitted; permissions are determined by the connected account or socket permissions; the Portainer and Podman paths have only been verified through simulated tests and have not been run against real servers.