for-win icon indicating copy to clipboard operation
for-win copied to clipboard

"Error during connect" when running 'docker info' and 'docker ps' commands

Open epatter1 opened this issue 9 years ago • 4 comments

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

  1. Open powershell as admin
  2. Type "docker info" or "docker ps"

epatter1 avatar Sep 04 '17 05:09 epatter1

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.

king-n0thing avatar Sep 06 '17 17:09 king-n0thing

Hi @epatter1 Are you seeing this every time you try to use Docker?

jasonbivins avatar Sep 15 '17 15:09 jasonbivins

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

docker-robott avatar Mar 27 '18 10:03 docker-robott

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

docker-robott avatar Jun 23 '20 03:06 docker-robott