Description
Summary
When running openshell-gateway v0.0.72, the default supervisor_image is ghcr.io/nvidia/openshell/supervisor:latest. If the supervisor image is updated to a newer version (e.g. v0.0.73), the gateway still creates containers with its v0.0.72 configuration but the v0.0.73 supervisor binary runs inside them. This version mismatch causes the sandbox to crash on startup.
Steps to reproduce
- Install openshell v0.0.72 (gateway + CLI)
- Wait for
ghcr.io/nvidia/openshell/supervisor:latestto be updated to v0.0.73 - Run
openshell sandbox create --from base
Observed behavior
The sandbox container immediately exits with code 1:
2026-06-30T19:14:24.516Z WARN openshell_supervisor_network::proxy: host.openshell.internal maps to a non-link-local IP; trusted-gateway SSRF exemption disabled
2026-06-30T19:14:24.533Z WARN openshell_supervisor_process::netns: Failed to delete network namespace
Error: × Invalid argument (os error 22)
The gateway logs show repeated restart failures:
[gateway] [WARN ] Container exited with code 1
Workaround
Pin the supervisor image in gateway.toml to match the gateway version:
[openshell.drivers.podman]
supervisor_image = "ghcr.io/nvidia/openshell/supervisor:0.0.72"Suggested fix
DEFAULT_SUPERVISOR_IMAGE in crates/openshell-core/src/config.rs currently uses :latest:
pub const DEFAULT_SUPERVISOR_IMAGE: &str = "ghcr.io/nvidia/openshell/supervisor:latest";The gateway should default to a tag that matches its own version (e.g. ghcr.io/nvidia/openshell/supervisor:0.0.72 when the gateway is v0.0.72) so that the supervisor and gateway are always compatible without manual configuration.
Environment
- macOS (darwin/arm64)
- Podman 6.1.0-dev with libkrun VM
- openshell CLI / gateway: v0.0.72
- supervisor image (
latest): v0.0.73
Activity
benoitf commentedon Jun 30, 2026
Replacing with a new issue filed using the bug report template with proper agent diagnostics. The core problem (Podman/K8s drivers defaulting to
:latestwhile Docker driver already pins versions) is verified.