Created
November 6, 2024 01:54
-
-
Save jimwhite/7aa7e39354aac88e33bc84c6761fa9b0 to your computer and use it in GitHub Desktop.
Run OpenHands on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# My version of https://docs.all-hands.dev/modules/usage/installation | |
# On MacOS | |
DOCKER="docker" | |
# or for Ubuntu | |
DOCKER="sudo docker" | |
# 0.12.3 (2024-10-04) didn't work for me - litellm failed but 0.12.2 does. | |
VERSION="0.12.2" | |
SANDBOX_RUNTIME_CONTAINER_IMAGE="docker.all-hands.dev/all-hands-ai/runtime:$VERSION-nikolaik" | |
OPENHANDS_IMAGE="docker.all-hands.dev/all-hands-ai/openhands:$VERSION" | |
$DOCKER pull $SANDBOX_RUNTIME_CONTAINER_IMAGE | |
$DOCKER pull $OPENHANDS_IMAGE | |
$DOCKER run -it --rm \ | |
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=$SANDBOX_RUNTIME_CONTAINER_IMAGE \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-p 3000:3000 \ | |
--add-host host.docker.internal:host-gateway \ | |
--name openhands-app \ | |
$OPENHANDS_IMAGE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment