bug(cli): sandbox help references unpublished Python image
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先运行 openshell sandbox --help,并定位定义其 sandbox 示例的 CLI 源代码。验证所引用的镜像当前已发布,并确认 openshell sandbox create --from <image> 能够解析成功,而不会查找本地 Dockerfile。视情况更新或添加相关的 CLI help 测试,并确认示例能够正常运行。
由索引模型根据 Issue 内容生成。
描述
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
- Install OpenShell 0.0.111.
- Run
openshell sandbox --helpand observe theopenshell sandbox create --from pythonexample. - Run
openshell sandbox create --from python. - 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
- 星标
- 13.2k
- 派生
- 1.6k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 355
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/OpenShell 的其他 Issue
-
area:cli os:linux os:macos state:validated
难度 2/5 1-3 小时 新手友好度 88/100
NVIDIA/OpenShell#4042 · 2 条评论 ·
维护者通常 1 天内回复
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/OpenShell#3995 · 2 条评论 ·
维护者通常 1 天内回复
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
state:triage-needed
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
area:docs
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
相似的 Issue
-
Change output crossing a compactsize boundary leaves the fee slightly below the requested feerate未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
bitcoindevkit/bdk_wallet#578 ·
维护者通常 8 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
521xueweihan/HelloGitHub#3832 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 82/100
canonical/opentelemetry-collector-operator#409 ·
维护者通常 1 天内回复