Skip to content

feat(cli): switch community sandbox registry to CloudFront CDN - #170

Merged
drew merged 2 commits into
mainfrom
community-sandbox-cloudfront-registry/an
Mar 8, 2026
Merged

drew merged 2 commits into
mainfrom
community-sandbox-cloudfront-registry/an

Conversation

@drew

@drew drew commented Mar 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Update the default --from community sandbox registry from ghcr.io/nvidia/nemoclaw-community/sandboxes to d1i0nduu2f6qxk.cloudfront.net/nemoclaw-community/sandboxes
  • Aligns community sandbox image pulls with the same CloudFront CDN used by other Navigator images (server, cluster, default sandbox)
  • The NEMOCLAW_COMMUNITY_REGISTRY env var override continues to work as before

Changes

  • crates/navigator-cli/src/run.rs — Updated DEFAULT_COMMUNITY_REGISTRY constant
  • crates/navigator-cli/src/main.rs — Updated --from doc comment
  • architecture/sandbox-custom-containers.md — Updated documentation references

@drew drew self-assigned this Mar 7, 2026
Update the default --from registry from ghcr.io/nvidia to the
CloudFront distribution so community sandbox images are pulled from
the same CDN as other Navigator images.
@drew
drew force-pushed the community-sandbox-cloudfront-registry/an branch from 94c1578 to e3bf5a6 Compare March 8, 2026 00:26
Custom and community sandbox images may set a non-root USER directive
(e.g. USER sandbox), but the side-loaded supervisor binary needs root
for network namespace creation, proxy setup, and Landlock/seccomp
configuration.

- Set runAsUser: 0 in the pod securityContext when supervisor bootstrap
  mode is active (apply_supervisor_bootstrap)
- Auto-detect the image's intended sandbox user at supervisor startup
  by checking /etc/passwd when no run_as_user is configured in policy
- Derive SSH session USER/HOME from the policy's run_as_user instead
  of hardcoding sandbox//sandbox
@drew
drew merged commit 39f45e2 into main Mar 8, 2026
10 checks passed
@drew
drew deleted the community-sandbox-cloudfront-registry/an branch March 8, 2026 03:52
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.

1 participant