Open yaroslavkasatikov opened 1 month ago
Tagging @enyst since he was involved in he initial discussion to see if he is able to help.
Local box has been removed a while ago when we have completely rewrote our images, there is no more "SSH box" either, and we have switched to a runtime to which we connect via a REST API. I'm not sure how that can play with your restrictions. 🤔 @xingyaoww what do you think?
Yeah.. I think it will be pretty tricky to do all these, though technically not impossible.
To execute things locally, the hard requirement is to at least have an "openhands" poetry environment setup (i.e., everything in poetry.lock
) plus a few things like playwright. Then start a process locally like this so a Runtime API server is accessible by the backend.
The challenge here is it can be very challenging to maintain a consistent playwright
across different local setups (e.g., MacOS probably need a different way to install the chromium required by playwright
than WSL, etc.) - would love any idea/contribution here!
Well if the sandbox is remote it is ok too, for example if we start it manually somehow and pass some args like the API URL or something like that. Our restriction basically is we cannot run things as root for security reasons, so the backend shouldn't build or run a container. Is this option easier to implement ?
Is there an existing issue for the same bug?
Describe the bug
Hey team,
We built our setup based on local sandbox in Openshift with restricted permission. We did it after this discusion https://github.com/All-Hands-AI/OpenHands/discussions/2675
But we found there is no local sandbox in v. 0.9.0+ and it brakes our setup :(
Is there a replacement for it or would it be possible to revert this changes?
Many thanks!
Current OpenHands version
Installation and Configuration
We 've written own Dockerfile based on yours:
We combined opendevin and sandbox into the same container, changed paths and permission.
This image works without root/docker etc so we were able to start it under restrictedv2 Openshift SCC