I was trying to setup my first lab using docker desktop and after I installed the package and checked from the terminal using the “docker info” command, it was showing the below error. Can someone please help me on this ?
Server: error during connect: Get “http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.51/info”: open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.
Let me explain the steps that I followed
•) Downloaded and installed the docker desktop for Windows.
•) Installed and upgraded the WSL.
•) I tried using the docker pull command but it resulted in failure, showing the error as posted.
•) The docker info command shows output for the client part but it fails for the backend.
I assume this means you upgraded the WSL release itself, right?
Your list does not mention that you actually started Docker Desktop. Unlike docker-ce on Linux, which starts as a service as soon as the os is started, with Docker Desktop the frontend must be started, which in turn starts the utility vm that runs the Docker Engine.
Your WSL version might be too old to support tthe wsl --update command.
Please share the output of wsl --version. If it returns and error, or a version below 2.6.1, please download and install the latest WSL release from the GitHub page: Releases · microsoft/WSL · GitHub
Make sure you download the msi file for your cpu architecture. Unless you have an arm based cpu, make sure to download the x64 version.