跳到主要内容

dsh-plugin-docker

已验证

dsh-plugin-docker · v0.1.0 · MIT

Docker Micro-Dashboard, AI Container Inspector & 1-Click Prune Plugin for DeepSeek Harness

安装

dsh plugin add dsh-plugin-docker

用 dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南。

源码

发布到 npm 但没有公开仓库。安装前请检查包内容。

标签

说明文档

@nyx/dsh-plugin-docker

Docker Micro-Dashboard, AI Container Inspector & 1-Click Prune Plugin for DeepSeek Harness (DSH).

Features

  • Instant Docker Scanner: Real-time container inventory scan, state classification, port mapping, and daemon status check.
  • 1-Click Container Life-cycle Control: Start, Stop, and Restart containers with optimistic UI feedback.
  • AI Log Inspector: Fetch recent log lines for any container with custom tail depth and timestamps for instant AI troubleshooting and diagnostic analysis.
  • 1-Click System Prune: Clean build caches, dangling images, stopped containers, and unused networks to reclaim disk space.
  • Cyberpunk Docker Micro-Dashboard: Interactive Glassmorphism UI for DSH Web GUI (http://127.0.0.1:3080).
  • DSH Microkernel Tool Taxonomy:
    • list_containers (READ_ONLY, PURE_IDEMPOTENT)
    • start_container (MUTATE_SAFE, STATE_INSPECTABLE)
    • stop_container (MUTATE_SAFE, STATE_INSPECTABLE)
    • restart_container (MUTATE_SAFE, STATE_INSPECTABLE)
    • get_container_logs (READ_ONLY, PURE_IDEMPOTENT)
    • prune_docker_cache (MUTATE_HIGH_RISK, BLIND_NON_IDEMPOTENT)
    • toggle_docker_hud (MUTATE_SAFE, STATE_INSPECTABLE)

Installation

dsh --profile web install dsh-plugin-docker

Architecture & DSH Integration

This package adheres to Project NYX microkernel plugin standards:

  • Auto-registers into Cordis runtime via cordis.patch.yml.
  • Exposes strict JSON Schema tool definitions for AI models.
  • Graceful offline fallback when Docker daemon is not active.

License

MIT © 2025 ngusitink