-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error creating controller. Please check Docker is running using docker ps
.
#1226
Comments
Hmm. Is there a reason you're using the exec sandbox? Does removing that env var cause a different error? |
your problem seems to lie in the fact that you are not allowed to access the $ ls -l /var/run/docker.sock
srw-rw---- 1 root docker 0 Jan 31 16:02 /var/run/docker.sock The trick is to add your user to the docker group:
After this, log out and back in again. You should now be able to use it. or use
you need to enable |
Yes,without using that it would be like this: 2024-04-19 23:18:21 15:18:21 - opendevin:ERROR: ssh_box.py:68 - Please check Docker is running using |
I had same issue, I added user to docker group and problem fixed , thanks |
MacOs terminal can't run sudo usermod -aG docker your-user-name sudo: usermod: command not found --> how to solve this |
To add a user to the Docker group on macOS, you can use the following commands in the Terminal. Replace sudo dseditgroup -o edit -a your-user-name -t user docker |
I change the image to DOCKER_IMAGE = ghcr.io/opendevin/opendevin in the MakeFile, this issue finnally have been resolved. |
@AIhaisi Did you try the solution shared in the comment above? |
I'm still getting this error on macos when I run the sequence of Docker ps seems to run: $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES The docker group does not seem to be found. $ sudo dseditgroup -o edit -a gneubig -t user docker
Group not found. Building the app also fails: $ ./containers/build.sh app opendevin
Building: app
Tags:
Repo: ghcr.io/opendevin/opendevin
Base dir: .
[+] Building 0.0s (0/0) docker:desktop-linux
ERROR: Cache export is not supported for the docker driver.
Switch to a different driver, or turn on the containerd image store, and try again.
Learn more at https://docs.docker.com/go/build-cache-backends/ I'll continue poking around but any advice would be welcome. |
For reference, creating a symlink of the docker socker helped resolve the issue for me, per this post. sudo ln -s $HOME/.docker/run/docker.sock /var/run/docker.sock It'd be better if we didn't have to require every developer to do this though, maybe there's a better way? |
@neubig very strange--I've never seen the docker socket in $HOME. I also find it strange that you can't just build the app...what does |
A bit more digging found this:
So it may be an issue with my config. UPDATE: indeed, it was. I needed to enable the following setting in "Settings > Advanced" in the mac app. It seems like this almost be a bug in the Docker python bindings upstream, in that they can't identify the correct socket if it's not in the default location? |
@rbren , thanks for the debugging info! |
Hey, |
Could you provide the error? |
Sure, here is the terminal log: INFO: Started server process [1] |
if you have
in the docker logs, you need to export workspace variable again |
I had this error on Ubuntu 24.04 - Docker 26.1.1 For me this worked after changing the permission to the docker socket. sudo chmod 666 /var/run/docker.sock |
Hey all (especially @ataylor05)--some of these issue are likely fixed in the most recent version (0.5.3). Take a look and let us know! |
i am still facing this issue on a Macbook ? I have tried all the tricks described above for macs. |
I got resolution by upgrading the Docker version to the last version . i think I should update the docs with this on troubleshooting. |
There are logs:
2024-04-19 21:40:10 INFO: Started server process [1]
2024-04-19 21:40:10 INFO: Waiting for application startup.
2024-04-19 21:40:10 INFO: Application startup complete.
2024-04-19 21:40:10 INFO: Uvicorn running on http://0.0.0.0:3000 (Press CTRL+C to quit)
2024-04-19 21:40:15 INFO: ('172.17.0.1', 45180) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiI1NzNjMGQzNi1hMzdlLTRkYWQtYjdjYy0xMzY3YTU3ZGM5NDMifQ.XOJV2GTeQpwaXW3v7vr7sPK_1CPXv4fxefY69GA1JfE" [accepted]
2024-04-19 21:40:15 INFO: connection open
2024-04-19 21:40:15 Starting loop_recv for sid: 573c0d36-a37e-4dad-b7cc-1367a57dc943
2024-04-19 21:40:15 INFO: 172.17.0.1:45202 - "GET /api/messages/total HTTP/1.1" 200 OK
2024-04-19 21:40:15 INFO: 172.17.0.1:45194 - "GET /api/configurations HTTP/1.1" 200 OK
2024-04-19 21:40:15 13:40:15 - opendevin:ERROR: exec_box.py:55 - Please check Docker is running using
docker ps
.2024-04-19 21:40:15 13:40:15 - opendevin:ERROR: agent.py:127 - Error creating controller: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
2024-04-19 21:40:15 Traceback (most recent call last):
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
2024-04-19 21:40:15 response = self._make_request(
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
2024-04-19 21:40:15 conn.request(
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
2024-04-19 21:40:15 self.endheaders()
2024-04-19 21:40:15 File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
2024-04-19 21:40:15 self._send_output(message_body, encode_chunked=encode_chunked)
2024-04-19 21:40:15 File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
2024-04-19 21:40:15 self.send(msg)
2024-04-19 21:40:15 File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
2024-04-19 21:40:15 self.connect()
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
2024-04-19 21:40:15 sock.connect(self.unix_socket)
2024-04-19 21:40:15 FileNotFoundError: [Errno 2] No such file or directory
2024-04-19 21:40:15
2024-04-19 21:40:15 During handling of the above exception, another exception occurred:
2024-04-19 21:40:15
2024-04-19 21:40:15 Traceback (most recent call last):
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
2024-04-19 21:40:15 resp = conn.urlopen(
2024-04-19 21:40:15 ^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 847, in urlopen
2024-04-19 21:40:15 retries = retries.increment(
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 470, in increment
2024-04-19 21:40:15 raise reraise(type(error), error, _stacktrace)
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise
2024-04-19 21:40:15 raise value.with_traceback(tb)
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
2024-04-19 21:40:15 response = self._make_request(
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
2024-04-19 21:40:15 conn.request(
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
2024-04-19 21:40:15 self.endheaders()
2024-04-19 21:40:15 File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
2024-04-19 21:40:15 self._send_output(message_body, encode_chunked=encode_chunked)
2024-04-19 21:40:15 File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
2024-04-19 21:40:15 self.send(msg)
2024-04-19 21:40:15 File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
2024-04-19 21:40:15 self.connect()
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
2024-04-19 21:40:15 sock.connect(self.unix_socket)
2024-04-19 21:40:15 urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
2024-04-19 21:40:15
2024-04-19 21:40:15 During handling of the above exception, another exception occurred:
2024-04-19 21:40:15
2024-04-19 21:40:15 Traceback (most recent call last):
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 213, in _retrieve_server_version
2024-04-19 21:40:15 return self.version(api_version=False)["ApiVersion"]
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/api/daemon.py", line 181, in version
2024-04-19 21:40:15 return self._result(self._get(url), json=True)
2024-04-19 21:40:15 ^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/utils/decorators.py", line 44, in inner
2024-04-19 21:40:15 return f(self, *args, **kwargs)
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 236, in _get
2024-04-19 21:40:15 return self.get(url, **self._set_request_timeout(kwargs))
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
2024-04-19 21:40:15 return self.request("GET", url, **kwargs)
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
2024-04-19 21:40:15 resp = self.send(prep, **send_kwargs)
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
2024-04-19 21:40:15 r = adapter.send(request, **kwargs)
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 501, in send
2024-04-19 21:40:15 raise ConnectionError(err, request=request)
2024-04-19 21:40:15 requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
2024-04-19 21:40:15
2024-04-19 21:40:15 The above exception was the direct cause of the following exception:
2024-04-19 21:40:15
2024-04-19 21:40:15 Traceback (most recent call last):
2024-04-19 21:40:15 File "/app/opendevin/server/agent/agent.py", line 118, in create_controller
2024-04-19 21:40:15 self.controller = AgentController(
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/opendevin/controller/agent_controller.py", line 51, in init
2024-04-19 21:40:15 self.command_manager = CommandManager(self.id, container_image)
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/opendevin/controller/command_manager.py", line 20, in init
2024-04-19 21:40:15 self.shell = DockerExecBox(
2024-04-19 21:40:15 ^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/opendevin/sandbox/exec_box.py", line 57, in init
2024-04-19 21:40:15 raise ex
2024-04-19 21:40:15 File "/app/opendevin/sandbox/exec_box.py", line 53, in init
2024-04-19 21:40:15 self.docker_client = docker.from_env()
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 94, in from_env
2024-04-19 21:40:15 return cls(
2024-04-19 21:40:15 ^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 45, in init
2024-04-19 21:40:15 self.api = APIClient(*args, **kwargs)
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 197, in init
2024-04-19 21:40:15 self._version = self._retrieve_server_version()
2024-04-19 21:40:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:40:15 File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 220, in _retrieve_server_version
2024-04-19 21:40:15 raise DockerException(
2024-04-19 21:40:15 docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
2024-04-19 21:44:53 INFO: 172.17.0.1:54070 - "GET / HTTP/1.1" 307 Temporary Redirect
2024-04-19 21:44:53 INFO: ('172.17.0.1', 54084) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiI1NzNjMGQzNi1hMzdlLTRkYWQtYjdjYy0xMzY3YTU3ZGM5NDMifQ.XOJV2GTeQpwaXW3v7vr7sPK_1CPXv4fxefY69GA1JfE" [accepted]
2024-04-19 21:44:53 INFO: connection open
2024-04-19 21:44:53 Starting loop_recv for sid: 573c0d36-a37e-4dad-b7cc-1367a57dc943
2024-04-19 21:44:53 INFO: 172.17.0.1:54070 - "GET /locales/zh/translation.json HTTP/1.1" 404 Not Found
2024-04-19 21:44:53 INFO: 172.17.0.1:54070 - "GET /api/refresh-files HTTP/1.1" 200 OK
2024-04-19 21:44:53 INFO: 172.17.0.1:54072 - "GET /api/messages/total HTTP/1.1" 200 OK
2024-04-19 21:44:53 INFO: 172.17.0.1:54070 - "GET /api/configurations HTTP/1.1" 200 OK
2024-04-19 21:44:53 13:44:53 - opendevin:ERROR: exec_box.py:55 - Please check Docker is running using
docker ps
.2024-04-19 21:44:53 13:44:53 - opendevin:ERROR: agent.py:127 - Error creating controller: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
2024-04-19 21:44:53 Traceback (most recent call last):
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
2024-04-19 21:44:53 response = self._make_request(
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
2024-04-19 21:44:53 conn.request(
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
2024-04-19 21:44:53 self.endheaders()
2024-04-19 21:44:53 File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
2024-04-19 21:44:53 self._send_output(message_body, encode_chunked=encode_chunked)
2024-04-19 21:44:53 File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
2024-04-19 21:44:53 self.send(msg)
2024-04-19 21:44:53 File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
2024-04-19 21:44:53 self.connect()
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
2024-04-19 21:44:53 sock.connect(self.unix_socket)
2024-04-19 21:44:53 FileNotFoundError: [Errno 2] No such file or directory
2024-04-19 21:44:53
2024-04-19 21:44:53 During handling of the above exception, another exception occurred:
2024-04-19 21:44:53
2024-04-19 21:44:53 Traceback (most recent call last):
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
2024-04-19 21:44:53 resp = conn.urlopen(
2024-04-19 21:44:53 ^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 847, in urlopen
2024-04-19 21:44:53 retries = retries.increment(
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 470, in increment
2024-04-19 21:44:53 raise reraise(type(error), error, _stacktrace)
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise
2024-04-19 21:44:53 raise value.with_traceback(tb)
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 793, in urlopen
2024-04-19 21:44:53 response = self._make_request(
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 496, in _make_request
2024-04-19 21:44:53 conn.request(
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 400, in request
2024-04-19 21:44:53 self.endheaders()
2024-04-19 21:44:53 File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
2024-04-19 21:44:53 self._send_output(message_body, encode_chunked=encode_chunked)
2024-04-19 21:44:53 File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
2024-04-19 21:44:53 self.send(msg)
2024-04-19 21:44:53 File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
2024-04-19 21:44:53 self.connect()
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/transport/unixconn.py", line 27, in connect
2024-04-19 21:44:53 sock.connect(self.unix_socket)
2024-04-19 21:44:53 urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
2024-04-19 21:44:53
2024-04-19 21:44:53 During handling of the above exception, another exception occurred:
2024-04-19 21:44:53
2024-04-19 21:44:53 Traceback (most recent call last):
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 213, in _retrieve_server_version
2024-04-19 21:44:53 return self.version(api_version=False)["ApiVersion"]
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/api/daemon.py", line 181, in version
2024-04-19 21:44:53 return self._result(self._get(url), json=True)
2024-04-19 21:44:53 ^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/utils/decorators.py", line 44, in inner
2024-04-19 21:44:53 return f(self, *args, **kwargs)
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 236, in _get
2024-04-19 21:44:53 return self.get(url, **self._set_request_timeout(kwargs))
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
2024-04-19 21:44:53 return self.request("GET", url, **kwargs)
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
2024-04-19 21:44:53 resp = self.send(prep, **send_kwargs)
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
2024-04-19 21:44:53 r = adapter.send(request, **kwargs)
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/requests/adapters.py", line 501, in send
2024-04-19 21:44:53 raise ConnectionError(err, request=request)
2024-04-19 21:44:53 requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
2024-04-19 21:44:53
2024-04-19 21:44:53 The above exception was the direct cause of the following exception:
2024-04-19 21:44:53
2024-04-19 21:44:53 Traceback (most recent call last):
2024-04-19 21:44:53 File "/app/opendevin/server/agent/agent.py", line 118, in create_controller
2024-04-19 21:44:53 self.controller = AgentController(
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/opendevin/controller/agent_controller.py", line 51, in init
2024-04-19 21:44:53 self.command_manager = CommandManager(self.id, container_image)
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/opendevin/controller/command_manager.py", line 20, in init
2024-04-19 21:44:53 self.shell = DockerExecBox(
2024-04-19 21:44:53 ^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/opendevin/sandbox/exec_box.py", line 57, in init
2024-04-19 21:44:53 raise ex
2024-04-19 21:44:53 File "/app/opendevin/sandbox/exec_box.py", line 53, in init
2024-04-19 21:44:53 self.docker_client = docker.from_env()
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 94, in from_env
2024-04-19 21:44:53 return cls(
2024-04-19 21:44:53 ^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/client.py", line 45, in init
2024-04-19 21:44:53 self.api = APIClient(*args, **kwargs)
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 197, in init
2024-04-19 21:44:53 self._version = self._retrieve_server_version()
2024-04-19 21:44:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-19 21:44:53 File "/app/.venv/lib/python3.12/site-packages/docker/api/client.py", line 220, in _retrieve_server_version
2024-04-19 21:44:53 raise DockerException(
2024-04-19 21:44:53 docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
2024-04-19 21:44:55 INFO: 172.17.0.1:54070 - "GET /api/messages HTTP/1.1" 200 OK
2024-04-19 21:45:06 13:45:06 - opendevin:INFO: session.py:39 - WebSocket disconnected, sid: 573c0d36-a37e-4dad-b7cc-1367a57dc943
2024-04-19 21:45:06 INFO: connection closed
——————————————
Already set the exports;
I used the under command:
docker run
-e LLM_API_KEY
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_DIR
-v $WORKSPACE_DIR:/opt/workspace_base
-v /var/run/docker.sock:/var/run/docker.sock
-p 3000:3000
-e SANDBOX_TYPE=exec
ghcr.io/opendevin/opendevin:0.3.1
what's the problem?
The text was updated successfully, but these errors were encountered: