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

Offen Anfängerfreundlich
#6,096 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
85/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
docker, rust
Bereich
documentation

Rechercherichtung

Bearbeite deploy/rpm/QUICKSTART.md. Lies die Hinweise zum Docker-Treiber auf der Laufzeitseite und vergleiche den Konfigurationsausschnitt dort mit der vorgeschlagenen Einstellung [openshell.gateway]. Füge die Docker-Anweisungen hinzu, einschließlich des Neustarts des Benutzerdienstes und einer Klarstellung zu den Podman-Voraussetzungen und der verbliebenen Podman-Tabelle; fertig ist die Aufgabe, wenn der Abschnitt die Akzeptanzkriterien erfüllt und die bearbeitete Konfiguration die openshell-gateway config preflight-Prüfung besteht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Rust
Sterne
21.5k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NVIDIA/OpenShell

Alle Issues in NVIDIA/OpenShell

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.