ディレクトリに戻る

deepseek-harness-docker

メンテナンス: 活発

runzhliu/deepseek-harness-docker

DeepSeek Harness のコミュニティ Docker/K8s パッケージ:Compose、Helm、Web UI、ヘッドレス CLI

GitHub で見る
$ dsh plugin add deepseek-harness-docker

182

スター

29

フォーク

JavaScript

言語

MIT

ライセンス

2026-08-13

作成日

2026-11-19

最終プッシュ

公式 DeepSeek Harness(`@deepseek-ai/dsh`)CLI/Web UI のコミュニティ向け強化コンテナパッケージ——Docker・Compose・Helm 対応、非 root、ループバックのみ、DSH `0.1.1-rc.2` に固定。

DSH 統合

エコシステム関連

作者による申告

安全性監査

未監査

最終検証日

2026-09-01

ライセンス

MIT

01どんなタスクに使えるのか?

  • Run the official DeepSeek Harness (`@deepseek-ai/dsh`) Web UI or headless CLI as a hardened, non-root container on Docker, Compose, or Kubernetes

    A ready-to-use DSH runtime with profiles, credentials and sessions persisted to a `dsh-home` volume, published only on the loopback `127.0.0.1:3080` interface

    Self-hosters and platform engineers who want to deploy DeepSeek Harness without building from source

  • Open an interactive desktop browser inside the DeepSeek Harness WebUI via the bundled `@runzhliu/dsh-browser-desktop` plugin

    A draggable, resizable embedded Chromium desktop (noVNC on 6080) plus a `browser_open` Agent tool that opens URLs from chat

    DeepSeek Harness users who need an in-app interactive browser for agent-driven web tasks

  • Browse and install community DeepSeek Harness plugins through an optional `dshmarket` Docker/Helm variant

    A `dshmarket`-based image (`0.1.1-rc.2-r2-market.1`) that surfaces community plugins without replacing the default DSH tag or `latest`

    DSH users who want a graphical plugin marketplace instead of manual `dsh plugin add`

02DeepSeek Harness への導入方法

インストール手順

  1. 01

    docker compose pull

  2. 02

    DSH_WORKSPACE=/absolute/path/to/your/project docker compose up -d --no-build

  3. 03

    docker compose ps

  4. 04

    docker build -t runzhliu/deepseek-harness:0.1.1-rc.2-r2 .

  5. 05

    helm upgrade --install deepseek-harness charts/deepseek-harness

導入成功の確認

  • docker run --rm --entrypoint dsh runzhliu/deepseek-harness:0.1.1-rc.2-r2 --version
  • curl --fail http://127.0.0.1:3080/
  • docker compose ps
  • 通过标准包括:CLI 版本等于构建版本;dump 后的 `webserver.config.host` 为 `0.0.0.0`;首页返回 2xx;容器进入 healthy;日志没有配置或插件加载错误;

03DSH 統合と能力の範囲

DSH 統合エコシステム関連

Containerized distribution of the official dsh CLI/Web UI via Docker, Compose and Helm — runs `@deepseek-ai/dsh` unmodified in a hardened, loopback-only image.

  • Hardened, non-root DSH runtime image

    Official `@deepseek-ai/dsh` npm artifact, pinned to a fixed version→A multi-arch (`linux/amd64`, `linux/arm64`) non-root image that runs the Web UI or headless CLI, with build-time CLI version verification

    UID 1000, read-only root filesystem, drop ALL capabilities, no-new-privileges, minimal mounts
  • Persistent, separated state (`dsh-home`)

    Container filesystem plus a host workspace bind mount or PVC→Persisted profiles, settings, credentials, sessions and storage under `/home/node/.dsh`, surviving container rebuilds

  • Loopback-only, no-ingress networking

    Cordis overlay patch for the container network→Host ports published only on `127.0.0.1:3080` / `127.0.0.1:6080`; no Ingress, LoadBalancer or NodePort

  • Bundled `@runzhliu/dsh-browser-desktop` plugin

    Harness `sidebar.footer.action` and `shell.overlay` extension points→An always-visible in-WebUI browser button, an embedded noVNC Chromium desktop, and a `browser_open` Agent tool

    Launcher attaches `--no-sandbox` only to the browser process, not the whole container

04誰に向いているのか?使うべきでない場面は?

向いている用途

  • Self-hosters and platform engineers who want to deploy DeepSeek Harness without building from source
  • DeepSeek Harness users who need an in-app interactive browser for agent-driven web tasks
  • DSH users who want a graphical plugin marketplace instead of manual `dsh plugin add`

不向きな用途

  • DeepSeek Harness Web has no TLS, auth, or Origin policy and its Web API can execute code, so this is a single-user local dev environment — never expose it to a LAN or public network (no `-p 3080:3080`, NodePort, LoadBalancer, or public Ingress).
  • Docker isolation is not a multi-tenant security sandbox: do not hand the instance to untrusted users, do not install unaudited plugins into the persisted config volume, and only mount the workspace the agent needs (never host root, `~/.ssh`, cloud-credential dirs, or the Docker socket).

05互換性・メンテナンス・セキュリティ上の注意

  • DeepSeek Harness Web has no TLS, auth, or Origin policy and its Web API can execute code, so this is a single-user local dev environment — never expose it to a LAN or public network (no `-p 3080:3080`, NodePort, LoadBalancer, or public Ingress).
  • Helm uses a single-replica StatefulSet; horizontal scaling is explicitly refused as a HA substitute until upstream provides auth, multi-tenant isolation, and a shared/concurrency-safe state backend.
  • Docker isolation is not a multi-tenant security sandbox: do not hand the instance to untrusted users, do not install unaudited plugins into the persisted config volume, and only mount the workspace the agent needs (never host root, `~/.ssh`, cloud-credential dirs, or the Docker socket).
  • The container runs as the built-in `node` user (UID/GID 1000); if the host workspace rejects writes from that UID you must adjust directory permissions or build a derived image matching your local UID — do not fall back to running as root.
2026-08-132026-08-29作者は未記載

Community container packaging; last pushed 2026-08-29; pinned to `@deepseek-ai/dsh@0.1.1-rc.2` (image r2); no official GitHub release yet.

06よくある質問

直接 `npx @deepseek-ai/dsh` を実行するのとどう違いますか?

このイメージは DSH のバージョンを固定(かつビルド時に CLI バージョンを検証)し、非 root ユーザーで実行、ルートファイルシステムは読み取り専用、全 Linux capabilities を捨棄し、プロファイル・クレデンシャル・セッションを `dsh-home` ボリュームに永続化します。また公式 Cordis overlay で Web 待ち受けアドレスを修正し、ポートは `127.0.0.1` のみに公開します。

DeepSeek Harness を同梱またはソースからビルドしますか?

いいえ。公式 npm リリース `@deepseek-ai/dsh` をそのままパッケージ化(現在は `0.1.1-rc.2` に固定)し、漂移する Docker `latest` タグは意図的に公開しません。アップグレードは上流の npm リリースに追従します。

コミュニティプラグインをインストールできますか?

既定のイメージ・Compose・Helm チャートは公式 `@deepseek-ai/dsh` アーティファクトのみを読み込み、マーケットプレイスは同梱しません。グラフィカルなプラグイン閲覧には明示的な `dshmarket` バリアント(`compose.market.yaml` / イメージタグ `…-market.1`)を使用します。同梱の `@runzhliu/dsh-browser-desktop` tgz は `dsh plugin --profile web add` でも追加できます。

ブラウザから安全にアクセスするには?

ループバックのみを使用してください——Compose は `127.0.0.1:3080` を公開し、Kubernetes では `kubectl port-forward` を使います。`-p 3080:3080`、NodePort、LoadBalancer、公開 Ingress は絶対に使わないでください。Web API はコードを実行でき、認証もありません。

状態はどう永続化・アップグレードされますか?

プロファイル・設定・クレデンシャル・セッション・ストレージは `/home/node/.dsh`(Compose は名前付きボリューム、Helm は PVC)にあります。イメージを再構築しても状態は残ります。`docker compose down` はボリュームを残し、`--volumes` のみが削除します。

08データと出典

  • 作者による申告github.com487e5e89ebc7…

    这是一个可直接构建的 DeepSeek Harness 社区容器方案,默认运行官方 `@deepseek-ai/dsh` 的 Web UI。

  • 作者による申告github.com487e5e89ebc7…

    镜像的入口等价于执行 `dsh`,因此可以用运行参数覆盖默认 Web 命令:

  • 作者による申告github.com487e5e89ebc7…

    最终发布为 [`@deepseek-ai/dsh`](https://www.npmjs.com/package/@deepseek-ai/dsh) CLI。

このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-09-01。誤りを見つけた場合は、修正を送信してください。

🏆

dsh プラグイン おすすめ

最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。