OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: cannot statx '/var/run/docker.sock': No such file or directory

Open 450220020 opened this issue 1 year ago • 3 comments

Is there an existing issue for the same bug?

  • [X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
  • [X] I have checked the existing issues.

Describe the bug

$ docker run --pull=always -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 3000:3000 --add-host host.docker.internal:host-gateway ghcr.io/opendevin/opendevin:0.5 0.5: Pulling from opendevin/opendevin

Current Version

Digest: sha256:f871f88ce3a5e8ef5fc40ecb0f8ef8c2fe6886f4c9b4bb3544d71c2b7c40ff03
Status: Image is up to date for ghcr.io/opendevin/opendevin:0.5
Starting OpenDevin...
Setting up enduser with id 197609
useradd warning: enduser's uid 197609 outside of the UID_MIN 499 and UID_MAX 60000 range.
stat: cannot statx '/var/run/docker.sock': No such file or directory

Installation and Configuration

default

Model and Agent

No response

Reproduction Steps

No response

Logs, Errors, Screenshots, and Additional Context

Digest: sha256:f871f88ce3a5e8ef5fc40ecb0f8ef8c2fe6886f4c9b4bb3544d71c2b7c40ff03 Status: Image is up to date for ghcr.io/opendevin/opendevin:0.5 Starting OpenDevin... Setting up enduser with id 197609 useradd warning: enduser's uid 197609 outside of the UID_MIN 499 and UID_MAX 60000 range. stat: cannot statx '/var/run/docker.sock': No such file or directory

450220020 avatar May 12 '24 02:05 450220020

I guess this problem may related to your own docker rather than opendevin. Does you docker launch correctly?

yufansong avatar May 12 '24 12:05 yufansong

我想这个问题可能与您自己的 docker 而不是 opendevin 有关。你 docker 是否正确启动?

Booted correctly, but in a windows environment

450220020 avatar May 13 '24 18:05 450220020

Our recommendation is to run in WSL

rbren avatar May 14 '24 15:05 rbren

Closing as running on Windows without WSL is not supported.

mamoodi avatar Jun 08 '24 18:06 mamoodi