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

Aperta Adatta ai principianti
#6,096 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
1-3 ore
Idoneità per principianti
85/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, rust
Ambito
documentation

Direzione di ricerca

Modifica deploy/rpm/QUICKSTART.md. Leggi le indicazioni sul driver Docker nella pagina dei runtime e confronta il relativo frammento di configurazione con l’impostazione [openshell.gateway] proposta. Aggiungi le istruzioni per Docker, compreso il riavvio del servizio utente e il chiarimento dei prerequisiti di Podman e della tabella Podman rimasta; il lavoro è completato quando la sezione soddisfa i criteri di accettazione e la configurazione modificata supera il controllo openshell-gateway config preflight.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Rust
Stelle
21.5k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/OpenShell

Tutte le issue di NVIDIA/OpenShell

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.