Files
OpenHands/opendevin
Xingyao Wang ccbbabac1c Get RUN_AS_DEVIN working with app sandbox (#1426)
* get RUN_AS_DEVIN and network=host working with app sandbox

* attempt to fix the workspace base permission

* sandbox might failed in chown due to mounting, but it won't be fatal

* update sshbox instruction

* remove default user id since it will be passed in the instruction

* revert permission fix since it should be resolved by correct SANDBOX_USER_ID

* the permission issue can be fixed by simply provide correct env var

* remove log

* set sandbox user id to getuid by default

* move logging to initializer

* make the uid consistent across host, app container, and sandbox

* remove hostname as it causes sudo issue

* fix permission of entrypoint script

* make the uvicron app run as host user uid for jupyter plugin

* revert use host network

* get docker socket gid and usermod instead of chmod 777

* try to fix app build disk space issue
2024-04-30 12:39:52 -04:00
..
2024-04-29 15:41:58 -07:00
2024-04-26 17:16:29 -04:00
2024-04-29 15:41:58 -07:00
2024-04-12 07:53:47 -04:00
2024-04-29 15:41:58 -07:00
2024-04-15 14:19:02 +02:00
2024-04-29 15:41:58 -07:00
2024-04-29 15:41:58 -07:00
2024-04-29 15:41:58 -07:00
2024-04-29 15:41:58 -07:00

OpenDevin Shared Abstraction and Components

This is a Python package that contains all the shared abstraction (e.g., Agent) and components (e.g., sandbox, web browser, search API, selenium).

See the main README for instructions on how to run OpenDevin from the command line.

Sandbox Image

docker build -f opendevin/sandbox/docker/Dockerfile -t opendevin/sandbox:v0.1 .

Sandbox Runner

Run the docker-based interactive sandbox:

mkdir workspace
python3 opendevin/sandbox/docker/sandbox.py -d workspace

It will map ./workspace into the docker container with the folder permission correctly adjusted for current user.

Example screenshot:

image