docs: describe using the Docker driver with the RPM-packaged gateway

未關閉 適合新手
#6,096 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1-3 小時
新手友好度
85/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
docker, rust
領域
documentation

研究方向

編輯 deploy/rpm/QUICKSTART.md。閱讀 runtimes 頁面上的 Docker 驅動程式指南,並將其中的設定片段與提議的 [openshell.gateway] 設定進行比較。新增 Docker 說明,包括重新啟動使用者服務、釐清 Podman 的先決條件以及留下的 Podman 表格;當該章節符合驗收標準,且編輯後的設定通過 openshell-gateway config preflight 檢查時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

state:triage-needed

User Story

I package OpenShell for Fedora and have tested the RPM-packaged gateway. Users who have Docker installed instead of Podman have no documented way to select the Docker driver with the RPM. I want the RPM docs to cover that case.

Problem Statement

deploy/rpm/QUICKSTART.md lists only Podman prerequisites, and the packaged gateway.toml.default pins compute_driver = "podman". The Docker driver is documented on the runtimes page, but nothing in the RPM docs says how to select it.

Impact / Why This Matters

With the packaged default and no Podman socket, the gateway selects the Podman driver and exits with no responsive Podman API socket found; set OPENSHELL_PODMAN_SOCKET or configure socket_path. The message does not mention compute_driver, so a Docker user has to find the runtimes page and work out that the packaged config pins Podman.

Proposed Design

Add a short "Docker instead of Podman" section to the RPM QUICKSTART. It tells the reader to set compute_driver = "docker" in ~/.config/openshell/gateway.toml, restart the user service, and see the runtimes page for Docker options. It also says the Podman prerequisites apply only to the default driver, and that the leftover [openshell.drivers.podman] table in the seeded file is harmless. No behavior change.

Suggested UX

[openshell.gateway]
compute_driver = "docker"

Acceptance Criteria

  • The QUICKSTART has the Docker section, and its snippet matches the runtimes page.
  • The edited config passes openshell-gateway config preflight.

Alternatives Considered

Unpin the packaged default so the gateway auto-detects. The comment in the config says pinning avoids surprise driver selection when both runtimes are installed. Only link to the runtimes page without a section. Document it in distribution-specific guides only.

Related: #3510

主要語言
Rust
星號
21.5k
分支
2.1k
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NVIDIA/OpenShell 的其他 Issue

查看 NVIDIA/OpenShell 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。