Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: exiting CLI removes all runtime images #6179

Open
1 task done
olyashok opened this issue Jan 9, 2025 · 0 comments
Open
1 task done

[Bug]: exiting CLI removes all runtime images #6179

olyashok opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@olyashok
Copy link

olyashok commented Jan 9, 2025

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

start 2 runtimes using command below. send keyboard interrupt to 1. it removes both runtimes.

i tried looking thru code and there is some mention of rm_all_containers flag but SANDBOX_RM_ALL_CONTAINERS does nothing.

docker run -it --rm -e SANDBOX_RM_ALL_CONTAINERS=False -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.19-nikolaik -e WORKSPACE_MOUNT_PATH=/home/ubuntu/archipelago-labs-efs/datasets/openhands -e LLM_API_KEY=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 -e LLM_MODEL="anthropic/claude-3-5-sonnet-20241022" -v /home/ubuntu/archipelago-labs-efs/datasets/openhands:/opt/workspace_base -v /var/run/docker.sock:/var/run/docker.sock --add-host host.docker.internal:host-gateway -v /home/ubuntu/archipelago-labs-efs/datasets/openhands/.openhands/config.toml:/app/config.toml --name openhands-app-$(date +%Y%m%d%H%M%S) docker.all-hands.dev/all-hands-ai/openhands:0.19 python -m openhands.core.cli

OpenHands Installation

app.all-hands.dev

OpenHands Version

0.19

Operating System

Linux

Logs, Errors, Screenshots, and Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant