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

Ouverte Adaptée aux débutants
#6,096 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
1/5
Temps estimé
1-3 heures
Accessibilité débutants
85/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
docker, rust
Domaine
documentation

Piste de recherche

Modifiez deploy/rpm/QUICKSTART.md. Lisez les consignes relatives au pilote Docker sur la page des environnements d’exécution et comparez son extrait de configuration au paramètre [openshell.gateway] proposé. Ajoutez les instructions Docker, notamment le redémarrage du service utilisateur et la clarification des prérequis Podman ainsi que du tableau Podman restant ; la tâche est terminée lorsque la section respecte les critères d’acceptation et que la configuration modifiée réussit le contrôle openshell-gateway config preflight.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Rust
Étoiles
21.5k
Forks
2.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de NVIDIA/OpenShell

Toutes les issues de NVIDIA/OpenShell

Issues similaires

Plus d'issues Rust

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.