Hello. I am facing trouble connecting openhands ag...
# questions
b
Hello. I am facing trouble connecting openhands agent docker container with my local system to work on. I'm trying third day now and I'm really frustrated allready. I've tried from 1.0.1 to 1.0.6 CLI binary, I've tried uv installed packaga and also docker project itself without any progress. I tried config.toml, which is allways not found, I tried exporting SANDOBOX_VOLUMES,.. I tried --mount-cwd with no success. With --mount-cwd I see message mounting... bla, bla... but agent never bind-mounts. anything I am using WSL2 Debian unded windows 11. My wish is that Agent's docker container can connect my local filesystem to share project also outside of agent to test it and to have persistence when agent crashes. I do: export SANDBOX_VOLUMES="/mnt/d/ai-data/workspace/workspacerw" I start: 'openhands serve' or openhands serve --mount-cwd Or I do docker compose up -f /root/OH/docker-compose.yml Only with tha last one I see that openhands-app mounts dir where I am as /opt/workspace_base but no agent never ever mounts anything :((( Could anyone help me and explain what I'am doing wrong?
l
Hey @better-crayon-23449 sorry this wasn’t working and sorry about the late reply! Could you share the command you used with
--mount-cwd
? This may be a WSL problem and unfortunately I don’t have a windows machine at the moment but I’m hoping to get one in the new year and may be able to try it. If you could open an issue on github then we can track it too