"Error during connect" when running 'docker info' and 'docker ps' commands
Expected behavior
For "docker info" "Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 " ... ...
For "docker ps" "CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS"
Actual behavior
"error during connect: Get http://... ... The system cannot find the file specified. In the default configuration on Windows, the docker client must be run elevated to connect (which it IS!). The error may also indicate the docker daemon is not running."
Information
Tried this, but did not work: https://success.docker.com/KBase/Docker_for_Windows_fails_with_a_daemon_not_running_message
Please advise!
Steps to reproduce the behavior
- Open powershell as admin
- Type "docker info" or "docker ps"
I was getting the same issue. Not sure if this will work for you or not. Double click to open icon from Desktop. This will probably time out, but will put a little docker icon in the system tray down by the clock. Right click on the icon and select "Switch to Windows container". This should prompt you to restart. Once restarting try running the commands again. It worked for me, hope it helps you.
Hi @epatter1 Are you seeing this every time you try to use Docker?
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
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. /lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
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. /lifecycle locked