GHJIVHIDD/dsh-plugin-container
Docker 容器沙箱部署级插件(与 dsh-plugin-vm-sandbox 全能力对齐,无需 OrbStack):39 个 docker_* 模型工具、快照/回滚、文件传输、端口转发、后台任务、审计、共享/配额/回收、网络策略与华丽原生 UI。
Project Overview项目介绍
This is a native Docker container sandbox plugin built exclusively for DeepSeek Harness (DSH), designed to extend DSH's sandbox capability to all platforms that support Docker. The official DSH VM sandbox plugin relies on OrbStack, a macOS-only tool that left Linux and Windows users without access to session-level sandbox features. This plugin adds a dedicated "Container" tab to the DSH session view UI, with dual modes: read-only (default, hides all write operations) and intervention (shows full management controls). It ships with 39 docker_* tools and 15 /dock-api/* HTTP routes, and fully replicates all core capabilities of the official dsh-plugin-vm-sandbox plugin.
To install and use this plugin, you only need a working local Docker Engine and Docker CLI on your system. No extra runtime dependencies are required: the host side only uses Node.js built-in modules and the official Docker CLI, while the client side only depends on React browser modules. It works across all major desktop platforms: any system that can run Docker (including Linux, Windows with Docker Desktop, and macOS with Docker Desktop or OrbStack) can run this plugin without issues. To start using it, install it via the DSH plugin marketplace, then enable it and connect your local Docker Engine.
The plugin follows the official DSH plugin directory structure and development conventions, making it easy for maintainers to update and extend. It includes built-in verification and smoke test scripts to ensure all tools and routes work as expected after any code changes. It is released under the permissive Apache 2.0 open source license, so you can use, modify, and distribute it freely without any cost. The current stable version v1.0.3 includes bug fixes for common issues, improving overall runtime stability for end users.
这是DeepSeek Harness(DSH)原生的Docker容器沙箱部署级插件,用于替代仅支持macOS的官方OrbStack虚拟机沙箱。它在DSH会话视图中新增「容器」页签,提供仅观察/干预双模式原生UI,包含39个docker操作工具和15个HTTP路由,完整对齐官方dsh-plugin-vm-sandbox的全部能力。
官方原虚拟机沙箱依赖macOS专属的OrbStack,Linux和Windows用户长期无法使用会话级沙箱能力。本插件基于本地Docker Engine实现,把原虚拟机沙箱的所有核心能力(包括快照回滚、文件传输、端口转发、多容器并行等)一一映射到Docker容器,实现了跨平台支持。
本插件遵循官方插件目录结构,零额外运行时依赖,宿主端仅使用Node内置模块和官方Docker CLI,客户端仅依赖React浏览器模块。只要系统能运行Docker Engine,就可以安装使用,支持Linux、Windows和macOS全平台,采用Apache 2.0开源许可。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin-container(GHJIVHIDD/dsh-plugin-container)
仓库:https://github.com/GHJIVHIDD/dsh-plugin-container
本站详情页:https://www.yhbd.top/plugins/ghjivhidd-dsh-plugin-container/
本站登记:类型 bundle · 归类 原生 DSH 插件 · 许可证 Apache-2.0 · ⭐ 3 · 最近提交 2026-08-20 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
- Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:GHJIVHIDD/dsh-plugin-container
把 GHJIVHIDD/dsh-plugin-container 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-plugin-container
DeepSeek Harness(DSH)的 Docker 容器沙箱 部署级插件。
在会话视图环中新增「容器」页签,提供 仅观察 / 干预 双模式原生 UI、39 个docker_*模型工具、15 个/dock-api/*HTTP 路由,并完整对齐官方dsh-plugin-vm-sandboxv0.1.0 的全部能力:快照/回滚、文件传输、端口转发、后台任务、审计、共享协作、配额与回收、网络策略、自定义资源、初始化脚本、多容器并行执行、增强状态查询。
为什么需要这个插件?
官方 dsh-plugin-vm-sandbox 依赖 OrbStack(macOS 专属)。Linux 用户与 Windows 用户没有 OrbStack,就无法获得会话级沙箱能力。
本插件以 本地 Docker Engine 作为底层,把 VM 沙箱的能力一一映射到 Docker:
| 能力 | dsh-plugin-vm-sandbox | dsh-plugin-container v1.0.0 |
|---|---|---|
| 清单 / 创建 / 删除 | vm_list / vm_create / vm_delete |
docker_ps / docker_create / docker_run / docker_rm |
| 生命周期 | vm_start / vm_stop / vm_restart |
docker_start / docker_stop / docker_restart |
| 增强状态 | vm_status |
docker_status |
| 快照 / 回滚 | vm_snapshot / vm_snapshot_list / vm_restore / vm_snapshot_delete |
docker_snapshot / docker_snapshot_list / docker_restore / docker_snapshot_delete |
| 文件传输 | vm_upload / vm_download |
docker_upload / docker_download |
| 端口转发 | vm_port_forward / vm_port_forward_list / vm_port_forward_stop |
docker_port_forward / docker_port_forward_list / docker_port_forward_stop |
| 后台任务 | vm_job_submit / vm_job_list / vm_job_status / vm_job_stop / vm_job_output |
docker_job_submit / docker_job_list / docker_job_status / docker_job_stop / docker_job_output |
| 操作审计 | vm_audit |
docker_audit |
| 共享协作 | vm_share / vm_unshare / vm_policy |
docker_share / docker_unshare / docker_policy |
| 网络策略 | vm_network |
docker_network_policy |
| 命令执行 | vm_exec(支持 machines 并行) |
docker_exec(支持 containers 并行) |
| 自定义资源 | cpus / memory / disk |
cpus / memory / memory_swap / shm_size / pids_limit / disk_quota |
| 初始化脚本 | init_script / cloud_init |
init_script / command |
Docker 与 OrbStack 是两种不同抽象:OrbStack 的
orb clone按需复制磁盘、orb push/pull直接进入 VM;Docker 版本使用docker commit镜像快照与docker cp文件传输,语义等价、实现完全 Docker-native。网络策略则通过dsh-sandbox公网 bridge 与dsh-sandbox-internal内部网络(docker network create --internal)实现。
项目定位
- 部署级插件:与官方 VM 沙箱一致,不依赖私有 RPC。面板数据全部通过宿主
webServer暴露的/dock-api/*标准 HTTP 路由获取。 - 官方目录结构:严格参照
dsh-plugin-vm-sandbox仓库布局(根包prepare→dsh-plugin-container/lib发布入口;内层dsh-plugin-container/为 npm 发布包;cordis.patch.yml自动插入ui-container)。 - 零运行时依赖:Host 半区只使用 Node 内置模块与官方
dockerCLI;Client 半区仅依赖react浏览器模块。 - 跨平台:只要 Docker CLI 能连上 Docker Engine 即可使用 —— Linux、Windows(Docker Desktop)、macOS(Docker Desktop / OrbStack Docker context)全部支持。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Unclecheng-li/DeepSec
WestFox-AwA/dsh-prompt-optimizer
Noob-stupid/dsh-plugin-gating-hub
yannicksong0106/dsh-550c-boot