Skip to content

[All Platforms] nemoclaw destroy leaves orphaned gateway and Docker volume after last sandbox is removed #1160

@eko-liu

Description

@eko-liu

Description

[Description]
nemoclaw <name> destroy removes the sandbox but does NOT clean up the OpenShell gateway or its Docker volume when the last sandbox is destroyed.

[Environment]

  • Ubuntu 22.04 / 24.04 (reproduced on both)
  • NemoClaw v0.1.0 (curl|bash install)
  • OpenShell 0.0.16
  • Docker CE

[Steps to Reproduce]1. nemoclaw onboard → create sandbox (e.g. my-assistant)
2. nemoclaw my-assistant destroy → confirm Y
3. nemoclaw list → "No sandboxes registered"
4. docker volume ls | grep openshell → openshell-cluster-nemoclaw
5. lsof -i :8080 → gateway still listening

[Expected Result]
After destroying the last sandbox:

  • Docker volume openshell-cluster-nemoclaw should be removed
  • Port 8080 should be freed (gateway stopped)
  • Or: provide nemoclaw cleanup / nemoclaw gateway destroy command

[Actual Result]

  • Sandbox deleted successfully
  • Docker volume orphaned (never garbage collected)
  • Gateway process continues running on port 8080 indefinitely with 0 sandboxes
  • No CLI command exists to clean up gateway without manual Docker commands

[Workaround]
docker stop $(docker ps -q --filter name=openshell-cluster)
docker rm $(docker ps -aq --filter name=openshell-cluster)
docker volume rm openshell-cluster-nemoclaw

[Related]
GitHub #859, #888, #910

Steps to reproduce

No steps provided.


[NVB# 6034865]

[NVB#6034865]

[NVB#6038812]

Metadata

Metadata

Assignees

No one assigned

    Labels

    NV QABugs found by the NVIDIA QA TeamUATIssues flagged for User Acceptance Testing.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions