Description
[Description]
When two sandboxes exist and the 18789 port forward is pointing to the second (most recently onboarded) sandbox, destroying the first sandbox incorrectly stops the port forward. The 18789 forward belongs to the second sandbox, not the one being destroyed — the destroy should not touch it. After destroy, the remaining sandbox loses its dashboard access.
[Environment]
Device: ubuntu 22.04
Node.js: v22.22.2
npm: 10.9.7
Docker: Docker Engine 28.2.2
OpenShell CLI: 0.0.25
NemoClaw: v0.0.10-9-gc4767b63 (source install, PR #1522)
OpenClaw: 2026.4.2 (d74a122)
[Steps to Reproduce]
- nemoclaw onboard → create sandbox "sandbox-1"
- nemoclaw onboard → create sandbox "sandbox-2"
- nemoclaw list (confirm both sandboxes present)
- nemoclaw sandbox-1 destroy → confirm with 'y'
- lsof -i :18789 (port is now unoccupied)
[Expected Result]
At step 5, port 18789 should still be occupied. The remaining sandbox (sandbox-2) is still running and needs dashboard access.
[Actual Result]
$ lsof -i :8080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 491794 root 7u IPv4 1020988 0t0 TCP *:http-alt (LISTEN)
$ lsof -i :18789
(empty — port not occupied)
Port 18789 (dashboard forward) is gone even though sandbox "sandbox-2" is still running.
Bug Details
| Field |
Value |
| Priority |
Unprioritized |
| Action |
Dev - Open - To fix |
| Disposition |
Open issue |
| Module |
Machine Learning - NemoClaw |
| Keyword |
NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw-SWQA-RelBlckr-Recommended |
[NVB# 6063387]
Description
[Description]
When two sandboxes exist and the 18789 port forward is pointing to the second (most recently onboarded) sandbox, destroying the first sandbox incorrectly stops the port forward. The 18789 forward belongs to the second sandbox, not the one being destroyed — the destroy should not touch it. After destroy, the remaining sandbox loses its dashboard access.
[Environment]
Device: ubuntu 22.04
Node.js: v22.22.2
npm: 10.9.7
Docker: Docker Engine 28.2.2
OpenShell CLI: 0.0.25
NemoClaw: v0.0.10-9-gc4767b63 (source install, PR #1522)
OpenClaw: 2026.4.2 (d74a122)
[Steps to Reproduce]
[Expected Result]
At step 5, port 18789 should still be occupied. The remaining sandbox (sandbox-2) is still running and needs dashboard access.
[Actual Result]
$ lsof -i :8080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 491794 root 7u IPv4 1020988 0t0 TCP *:http-alt (LISTEN)
$ lsof -i :18789
(empty — port not occupied)
Port 18789 (dashboard forward) is gone even though sandbox "sandbox-2" is still running.
Bug Details
[NVB# 6063387]