17 lines
566 B
Bash
Executable File
17 lines
566 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export WORKSPACE_BASE=$(pwd)
|
|
|
|
docker pull docker.all-hands.dev/all-hands-ai/runtime:0.12-nikolaik
|
|
|
|
docker run -it --pull=always \
|
|
-e SANDBOX_USER_ID=$(id -u) \
|
|
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
|
|
-v $WORKSPACE_BASE:/opt/workspace_base \
|
|
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.12-nikolaik \
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
-p 3000:3000 \
|
|
--add-host host.docker.internal:host-gateway \
|
|
--name openhands-app \
|
|
docker.all-hands.dev/all-hands-ai/openhands:0.12
|