bug(cli): sandbox help references unpublished Python image

未关闭 适合新手
#2,888 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
cli

调研方向

首先运行 openshell sandbox --help,并定位定义其 sandbox 示例的 CLI 源代码。验证所引用的镜像当前已发布,并确认 openshell sandbox create --from <image> 能够解析成功,而不会查找本地 Dockerfile。视情况更新或添加相关的 CLI help 测试,并确认示例能够正常运行。

由索引模型根据 Issue 内容生成。

描述

area:cli state:validated

User Story

As an OpenShell user, I want the CLI's sandbox examples to reference a published community image so that I can successfully follow the built-in help.

Problem Statement

openshell sandbox --help recommends openshell sandbox create --from python, but OpenShell Community does not publish a python sandbox. The CLI consequently treats python as a local directory and fails because it contains no Dockerfile.

Impact / Why This Matters

Users following the built-in example cannot create a sandbox and may misdiagnose the failure as a gateway or container-runtime problem. The current workaround is to discover a valid image name independently or provide the full community base image reference, which defeats the purpose of the built-in quickstart example.

Acceptance Criteria

  • The sandbox help example references a currently published OpenShell Community sandbox.
  • The example can resolve without requiring a local Dockerfile named after the example.
  • Relevant CLI help tests are updated or added if applicable.

Reproduction Steps

  1. Install OpenShell 0.0.111.
  2. Run openshell sandbox --help and observe the openshell sandbox create --from python example.
  3. Run openshell sandbox create --from python.
  4. Observe No Dockerfile found in directory: python.

Environment

  • OpenShell: 0.0.111
  • OS: macOS 26.5.2 on Apple Silicon
  • Runtime, deployment, or integration: Homebrew gateway with Docker through Colima

Logs

Error:   × No Dockerfile found in directory: python
主要语言
Rust
星标
8.7k
派生
1.3k
平均合并
2 天 7 小时
30 天内合并 PR
243

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/OpenShell 的其他 Issue

查看 NVIDIA/OpenShell 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。