-
Notifications
You must be signed in to change notification settings - Fork 288
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
unable to resolve docker endpoint: open C:\Users\username\.docker\machine\machines\default\ca.pem: The system cannot find the path specified. #7629
Comments
I solved the my own issue: The issue is that the new version has the public key under: C:\Users\username.docker\machine\certs\ If I upgrade it or uninstall it and installed it again, it doesn't update the DOCKER_CERT_PATH environment variable to the new path for the public key but keep the old one. Solution: |
Another case for the same error: Actual behavior in wsl2: Solution Note |
Thanks, it saved my day! |
I solved my issue also. |
how can I change this variable? where it is? |
@bakcyll Environment Variables on Windows. Windows key + S then type "Environment" and it should give the link for "Edit the system environmental variables" |
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
By typing: docker --version it should show the version. The truth is that I can not do anything
Actual behavior
As soon as I type "docker" on the command prompt ans press "Enter" the following message is displayed:
unable to resolve docker endpoint: open C:\Users\Username.docker\machine\machines\default\ca.pem: The system cannot find the path specified.
I looked into that path and the ca.pem file doesn't exist.
Information
Steps to reproduce the behavior
Troubleshooting Steps I tried:
Uninstall docker for Desktop and installed it again. I was hoping it would install the certificate, ca.pem, but it didn't happen.
The text was updated successfully, but these errors were encountered: