OpenHands
OpenHands copied to clipboard
[Bug]: bash: --: invalid option error message
Is there an existing issue for the same bug?
- [X] I have checked the troubleshooting document at https://docs.all-hands.dev/modules/usage/troubleshooting
- [X] I have checked the existing issues.
Describe the bug
Running the startup docker command throws a bash error
Current OpenHands version
0.8 docker
Installation and Configuration
I have docker installed on win 10.
I ran this inside of a conda ubuntu image on wsl
Ollama is running in open-webui. That works.
export WORKSPACE_BASE=$(pwd)/workspace
docker run -it -e SANDBOX_USER_ID=$(id -u) -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE -v $WORKSPACE_BASE:/opt/workspace_base -v /var/run/docker.sock:/var/run/docker.sock -p 3011:3000 --add-host host.docker.internal:host-gateway --name openhands-app-$(date +%Y%m%d%H%M%S) ghcr.io/opendevin/opendevin:0.8 --add-host host.docker.internal:host-gateway -e LLM_API_KEY="ollama" -e LLM_BASE_URL="http://host.docker.internal:11434" -e LLM_OLLAMA_BASE_URL="http://host.docker.internal:11434"
Model and Agent
No response
Operating System
windows 10
Reproduction Steps
Run the above docker command get error bash --: invalid option
Logs, Errors, Screenshots, and Additional Context
2024-08-23 09:54:29 Starting OpenDevin... 2024-08-23 09:54:29 Setting up enduser with id 1000 2024-08-23 09:54:29 Docker socket group id: 1001 2024-08-23 09:54:29 Creating group with id 1001 2024-08-23 09:54:30 Running as enduser 2024-08-23 09:54:30 bash: --: invalid option 2024-08-23 09:54:30 Usage: bash [GNU long option] [option] ... 2024-08-23 09:54:30 bash [GNU long option] [option] script-file ... 2024-08-23 09:54:30 GNU long options: 2024-08-23 09:54:30 --debug 2024-08-23 09:54:30 --debugger 2024-08-23 09:54:30 --dump-po-strings 2024-08-23 09:54:30 --dump-strings 2024-08-23 09:54:30 --help 2024-08-23 09:54:30 --init-file 2024-08-23 09:54:30 --login 2024-08-23 09:54:30 --noediting 2024-08-23 09:54:30 --noprofile 2024-08-23 09:54:30 --norc 2024-08-23 09:54:30 --posix 2024-08-23 09:54:30 --pretty-print 2024-08-23 09:54:30 --rcfile 2024-08-23 09:54:30 --restricted 2024-08-23 09:54:30 --verbose 2024-08-23 09:54:30 --version 2024-08-23 09:54:30 Shell options: 2024-08-23 09:54:30 -ilrsD or -c command or -O shopt_option (invocation only) 2024-08-23 09:54:30 -abefhkmnptuvxBCEHPT or -o option