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

オープン 初心者向け
#6,096 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
85/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker, rust
領域
documentation

調査の方向性

deploy/rpm/QUICKSTART.md を編集します。runtimes ページにある Docker ドライバーのガイダンスを読み、その設定スニペットを提案された [openshell.gateway] 設定と比較します。ユーザーサービスの再起動、Podman の前提条件の明確化、残っている Podman の表を含め、Docker の手順を追加します。セクションが受け入れ基準を満たし、編集した設定が 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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/OpenShell のほかの issue

NVIDIA/OpenShell の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。