error response from daemon: bad response from docker engine – fixing for Windows

In this tutorial, I am going to show you how to solve the error message in Docker for Windows – error response from daemon: bad response from docker engine.

When you run docker info, you will see the following result as shown below:

$ docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Build with BuildKit (Docker Inc., v0.6.1-docker)
  compose: Docker Compose (Docker Inc., v2.0.0-rc.1)
  scan: Docker Scan (Docker Inc., v0.8.0)

Server:
ERROR: error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/info": open //./pipe/docker_engine: The system cannot find the file specified.
errors pretty printing info

This indicates that the Docker daemon has not been initiated. If you are on Windows, in that case, you have to initiate Docker Desktop before running any other Docker commands. For a comprehensive guide on installation and startup procedures, refer this official Docker tutorial.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top