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: Cannot run Docker Image on MacOS #278
Comments
On mac, using "python -m uvicorn opendevin.server.listen:app --port 3000" eliminates these errors. |
Thanks but I solved this error by finding the correct environment file for this at this location docker_client = docker.DockerClient(base_url='unix:///Users/haseeb-mir/.docker/run/docker.sock') |
it doesn't |
Try the solution I provided its working for me. |
which files did you update ? |
give it its own code and the error so it can fix itself :) |
does this exist? 🤔 ls -lh /var/run/docker.sock |
No that file in |
I updated in
docker_client = docker.from_env()
docker_client = docker.DockerClient(base_url='unix:///Users/haseeb-mir/.docker/run/docker.sock')` |
I finally solved it by updating my Docker host path like this. export DOCKER_HOST=unix:///Users/haseeb-mir/.docker/run/docker.sock |
Maybe you can create a soft link :) |
But this is only issue for MacOS docker PATH and not for everyone if others need it we can merge in PR in readme then |
Thank you 🙏 |
I dont really get what soft link means here? could you explain that i would surely help |
Describe the bug
Devin not working from Docker image on MacOS M1 from UI and from command line.
Steps to Reproduce
1.Download the docker file
2.Use the command to run server
uvicorn opendevin.server.listen:app --port 3000
3.Use the command to run UI
npm run start -- --port 3001
Expected behavior
Devin should work normally
Actual behavior
Devin is not working normally even docker is running from command line.
Additional context
SOLVED
I finally solved it by updating my Docker host path like this.
export DOCKER_HOST=unix:///Users/haseeb-mir/.docker/run/docker.sock
The text was updated successfully, but these errors were encountered: