Skip to content

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

Open
mpereira wants to merge 1 commit into
NVIDIA:mainfrom
mpereira:docs/service-expose-python-image/mpereira
Open

mpereira wants to merge 1 commit into
NVIDIA:mainfrom
mpereira:docs/service-expose-python-image/mpereira

Conversation

@mpereira

@mpereira mpereira commented Oct 5, 2026 •

Copy link
Copy Markdown

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
Author

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

```shell
openshell sandbox create \
--name my-sandbox \
--from docker.io/library/python:3.14-slim \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was caused by the switch to a basic noble-based image in #3386.

@elezar

elezar commented Oct 5, 2026

Copy link
Copy Markdown
Member

/ok-to-test 83e7678

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants