-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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]: sandbox stops #5139
Comments
No logs for sandbox, in other container no errors. |
Did your configuration used to work on a previous version? Does just running the docker command from the README work by any chance? |
Note: after 20 min sandbox did not start. Or does it only start after logging in/starting a project (giving input)? Your question, why would Docker command be any different than yaml? Just asking since I really wouldn't know 😊 |
I guess my question is, if you run this, does it work at all?
|
Thanks but docker run is not an option for me, even if it would work. At the end yaml or docker run are the same just other way of setting up. Probably yes there is a config issue in my yaml and that's whay I would like to find out. So translating your input to yaml is below. I can give that a go. version: '3.9' |
Update: my project/container openhands was stopped and today I see 3(!) new sandboxes running (not the openhands container nore the sandbox) .... Not sure what happened. Deleted them but now I am puzzled what mechanism behind it is. |
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for over 30 days with no activity. |
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
My Docker config below, sandbox stops without any logfile created.
Maybe my yaml file needs modification?
version: '3.8'
services:
openhands-app:
image: docker.all-hands.dev/all-hands-ai/openhands:0.14
container_name: openhands01
ports:
- "3003:3000" # Maps container port 3003 to host port 3003
environment:
SANDBOX_RUNTIME_CONTAINER_IMAGE: "docker.all-hands.dev/all-hands-ai/runtime:0.14-nikolaik"
ANTHROPIC_API_KEY: "REDACTED"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /path/to/your/data:/data
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
sandbox-runtime:
image: docker.all-hands.dev/all-hands-ai/runtime:latest
container_name: sandbox-runtime01
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
OpenHands Installation
Docker command in README
OpenHands Version
0.14
Operating System
Linux
Logs, Errors, Screenshots, and Additional Context
No response
Note: OpenHands starts, but when I ask to execute something it stalls on "Preparing to start container..."
The text was updated successfully, but these errors were encountered: