docker
is running on your system. You should be able to run docker ps
in the terminal successfully.Settings > Advanced > Allow the default Docker socket to be used
is enabled.Settings > Resources > Network > Enable host networking
enabled in Docker Desktop.Permission Denied
or PermissionError
.
Resolution
~/.openhands
is owned by root
. If so, you can:
sudo chown <user>:<user> ~/.openhands
.sudo chmod 777 ~/.openhands
WORKSPACE_BASE
has the necessary permissions for the user running
OpenHands.Internal Server Error ("ports are not available: exposing port TCP ...: bind: An attempt was made to access a socket in a way forbidden by its access permissions.")
is encountered.
Resolution
SANDBOX_VSCODE_PORT
environment variable:
Note: If you used OpenHands before version 0.44, you may want to run mv ~/.openhands-state ~/.openhands
to migrate your conversation history to the new location.
-p 41234:41234
in your Docker command.
config.toml
file: