Skip to content

docs: use a Python image in the service expose example - #4197

Merged
elezar merged 1 commit into
NVIDIA:mainfrom
mpereira:docs/service-expose-python-image/mpereira
Nov 2, 2026
Merged

elezar merged 1 commit into
NVIDIA:mainfrom
mpereira:docs/service-expose-python-image/mpereira

Conversation

@mpereira

@mpereira mpereira commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The service forwarding example in the sandbox overview runs python -m http.server without --from, so it uses the default workload image. That image is a minimal Ubuntu userspace with no Python, and the example fails. This PR makes the example select an image that includes Python.

Related Issue

I feel that this is small enough that it doesn't require an issue?

Changes

  • Add --from docker.io/library/python:3.14-slim to the openshell sandbox create --expose example in docs/how-it-works/sandboxes/overview.mdx.
  • Call python3 instead of python in the example command.
  • Explain that the example uses a Python image because the built-in default workload image does not include Python, linking to the support matrix.

Testing

  • Ran the updated example against a local gateway and opened the printed service URL
  • mise run docs
  • mise run pre-commit
  • Unit tests added/updated (not applicable, docs only)
  • E2E tests added/updated (not applicable, docs only)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (not applicable)

Signed-off-by: Murilo Pereira <murilo@murilopereira.com>
@copy-pr-bot

copy-pr-bot Bot commented Oct 5, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

All contributors have signed the DCO ✍️ ✅
Posted by the DCO Assistant Lite bot.

@mpereira

mpereira commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

I have read the DCO document and I hereby sign the DCO.

@elezar

elezar commented Oct 5, 2026

Copy link
Copy Markdown
Member

/ok-to-test 83e7678

@github-actions

Copy link
Copy Markdown

This pull request has had no activity for 14 days and is now marked stale.

@github-actions github-actions Bot added the state:stale Inactive item at risk of automatic closure. label Oct 20, 2026
@elezar
elezar enabled auto-merge November 2, 2026 15:25
@elezar
elezar added this pull request to the merge queue Nov 2, 2026
Merged via the queue into NVIDIA:main with commit 0b7400e Nov 2, 2026
95 of 96 checks passed
@mpereira
mpereira deleted the docs/service-expose-python-image/mpereira branch November 2, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:stale Inactive item at risk of automatic closure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants