Closed 24naret closed 5 months ago
@24naret did you run docker ps
with sudo
?
No just
docker ps
I get the same whe trying to run manually as described in server:
β― PYTHONPATH=`pwd` python3 opendevin/sandbox/sandbox.py -d /Volumes/Untitled/develop/opendevin-workspace
Please check Docker is running using `docker ps`.
Error! Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
Failed to stop container: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
Failed to start Docker container: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
Got it: On Mac M1(2,3?) in the docker Desktop you need to click: advanced settings --> check βAllow the default Docker socket to be used (requires password)β. So maybe add this to the README.md and change this from bug to doc.
Got it: On Mac M1(2,3?) in the docker Desktop you need to click: advanced settings --> check βAllow the default Docker socket to be used (requires password)β. So maybe add this to the README.md and change this from bug to doc.
This fixed the issue for me. Thank you!
Got it: On Mac M1(2,3?) in the docker Desktop you need to click: advanced settings --> check βAllow the default Docker socket to be used (requires password)β. So maybe add this to the README.md and change this from bug to doc.
It's not working for me at all. I'm using a MacBook Air M2.
What If am I using Colima instead of Docker for Desktop?
What If am I using Colima instead of Docker for Desktop?
You're on your own! Let us know how it goes though π Colima actually looks pretty neat, I might give it a go sometime
Going to count his as solved. @adsodemelk and @heisentberg feel free to open a separate issue with specific details/logs/error messages
Is actually very simple @rbren and maybe useful. I write the solution here in case is useful (may need tweak with different colima versions).
You need to find the socket using colima status
command and assign it do DOCKER_HOST
env variable:
export DOCKER_HOST=$(colima status 2>&1 | grep 'socket:' | awk '{print $4}')
Finally, the M2 MacBook now functions properly. This was achieved by uninstalling and then reinstalling Docker Desktop. Additionally, I ensured that the setting 'Allow the default Docker socket to be used (requires password)' was enabled, which resolved the issue.
Describe the bug
Steps to Reproduce
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
starting frontend as well
πΌ daisyUI 4.9.0 ββ βοΈ 1 theme added https://daisyui.com/docs/themes β°β β Star daisyUI on GitHub https://github.com/saadeghi/daisyui
πΌ daisyUI 4.9.0 ββ βοΈ 1 theme added https://daisyui.com/docs/themes β°β β Star daisyUI on GitHub https://github.com/saadeghi/daisyui
Additional context Machine Mac M1 config.toml: