-
Notifications
You must be signed in to change notification settings - Fork 971
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
Hint: Connection to Docker failed. Is docker or Docker Desktop running? #158
Comments
From this you posted, it is an older version. (python main.py). Try updating and check again.. (run_ui.py) is the new way. Start Docker Desktop before running run_ui.py. (conda create --name agentzero python=3.10) (conda activate agentzero) now do install again from the github page. Follow the instructions and it should work fine then. |
Updated, ran the insall commands and:
|
did you set the correct settings? and change your .env file? put the correct api keys in? main chat model used by agents (smarter, more accurate)
|
Yes didn't change anything other than input my api keys for openAI and Perplexity... |
@zkMyst Please use Python 3.12, though I don't think it's the only issue there. Are you sure that your user is in the Docker user group?
|
Sorry im on MacOS, dont think there is user management with the desktop app there. |
@zkMyst I'm sorry, I've been inactive. Try this, and let me know please:
that is going to show you all the groups in the system, so you can verify if your user is in the 'docker' group. Then you should be able to add your user to docker group with this command:
In normal operations it's better to let Docker Desktop manage user permissions, but still. Let me know. |
FIXED! I had this issue as well. I spent nearly 3 hours on it. My fnal fix was to completely uninstall docker (and all its components) and reinstall it. verify it via the terminal (you must enable starting when system starts , and enable cli) otherwise it wont work P.S. Im also running a mac |
Thank you, this will prove useful for some users. I had similar issues with Linux VMs that doesn't support nested virtualization and require a docker-ce setup to run A0 with. I'll write docs on the matter. |
Ok I found the problem, in macOS you have to check the "Allow the default Docker socket to be used (requires password)" checkbox to allow other tools to interact with docker socket. Now it works perfectly... @frdel maybe you could add it to the macOS installation instructions... |
Thank you kindly, I'm adding this exception to the docs! |
Hi,
I've got Docker desktop running, but after starting a new execution the agent errors with:
I'm running
python main.py
in a miniconda environement (I can see (base) in my terminal). Does anyone know what this could be due to ?For context this is the most recent Traceback:
The text was updated successfully, but these errors were encountered: