Skip to content

Slow docker sandbox startup #8555

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

Open
pcuci opened this issue May 17, 2025 · 0 comments
Open

Slow docker sandbox startup #8555

pcuci opened this issue May 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@pcuci
Copy link

pcuci commented May 17, 2025

Starting a new thread takes about 15 seconds on a modern laptop.

I suspect I might be doing something wrong, but can't wrap my mind about where the slowness happens(?)

The runtime image is already pulled, so no time loss there.

Is OpenHands doing something or waiting for something that tells it the sandbox runtime is ready?

Perhaps I can modify the custom runtime sandbox image I built to facilitate start-up sequence/time? But it's as slow as the default docker.all-hands.dev/all-hands-ai/runtime:0.38-nikolaik

My understanding is that vscode server and an openhands python client are run on the sandbox, and so OpenHands waits for the client to boot up, could that be taking time?

Any caching opportunities?

👍to upvote

@pcuci pcuci added the enhancement New feature or request label May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant