NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

Spark Platform][Regression] Destroy sandbox will detele port 8080 and docker volume

Open zNeill opened this issue 7 months ago • 1 comments

Description

Description:

destroy sandbox will delete port 8080 and docker volume

Environment:- Platform: Spark + FastOS VERSION="1.120.38"

  • NemoClaw: v0.0.7
  • OpenClaw: 2026.3.11
  • Sandbox: my-test

Steps to Reproduce:

  1. Destroy to a healthy sandbox:
local-lynnh@p4242-0371:~$ nemoclaw list

  Sandboxes:
    my-test *
      model: openai/openai/gpt-5.4  provider: compatible-endpoint  GPU  policies: pypi, npm

  * = default sandbox

local-lynnh@p4242-0371:~$ sudo docker volume ls
DRIVER    VOLUME NAME
local     openshell-cluster-nemoclaw
local-lynnh@p4242-0371:~/caroline$ nemoclaw my-test destroy

Destroy sandbox 'my-test'? This cannot be undone. [y/N]: y Stopping NIM for 'my-test'... Stopping NIM container: nemoclaw-nim-my-test Deleting sandbox 'my-test'... ! No active forward found for port 18789 • Destroying gateway nemoclaw... ✓ Gateway nemoclaw destroyed. ✓ Sandbox 'my-test' destroyed

  1. Check the port 8080 and Docker volume

Actual:

Volume and Ports 8080/18789 are deleted

local-lynnh@p4242-0371:~$ sudo docker volume ls
DRIVER    VOLUME NAME
local-lynnh@p4242-0371:~$ sudo lsof -i :8080 -i :18789

If we have several sandboxes, destroy one of them, will lead to other sandboxes failed to connect

local-joychen@p4242-0079:~$ nemoclaw list

  Sandboxes:
    abc *
      model: gemini-2.5-flash  provider: gemini-api  GPU  policies: pypi
    lifecycle-test
      model: gemini-2.5-flash  provider: gemini-api  GPU  policies: none
    bcd
      model: gemini-2.5-flash  provider: gemini-api  GPU  policies: none
    lynn-test
      model: gemini-2.5-flash  provider: gemini-api  GPU  policies: none

  * = default sandbox

local-joychen@p4242-0079:~$ nemoclaw abc destroy
  Destroy sandbox 'abc'? This cannot be undone. [y/N]: y
  Stopping NIM for 'abc'...
  Stopping NIM container: nemoclaw-nim-abc
  Deleting sandbox 'abc'...
  ✓ Sandbox 'abc' destroyed
local-joychen@p4242-0079:~$ nemoclaw status abc

  Sandboxes:
    lifecycle-test * (gemini-2.5-flash)
    bcd (gemini-2.5-flash)
    lynn-test (gemini-2.5-flash)


  ● cloudflared  (stopped)

[NVB# 6056409]

[NVB#6056409]

zNeill avatar Apr 07 '26 20:04 zNeill

Closing this issue. Tested with the latest NemoClaw (v0.0.10) with OpenShell (v0.0.26). The issue no longer reproduces. Please reopen if it persists.

zyang-dev avatar Apr 09 '26 22:04 zyang-dev