Monday, April 18, 2022

docker: error during connect: This error may indicate that the docker daemon is not running.: Post “http://docker_engine/v1.24/containers/create”: open //./pipe/docker_engine: The system cannot find the file specified.

If you run into this problem, just follow below steps-


1. Remove Docker from “Add or remove programs”

2. Restart your computer

3. Install Docker as Administrator (by right click on installer and select run as administrator"

you should be able to run docker now

-docker version  

C:\Users\gupta>docker version
Client:
 Cloud integration: v1.0.23
 Version:           20.10.14
 API version:       1.41
 Go version:        go1.16.15
 Git commit:        a224086
 Built:             Thu Mar 24 01:53:11 2022
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true
Server: Docker Desktop 4.7.0 (77141)
 Engine:
  Version:          20.10.14
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.15
  Git commit:       87a90dc
  Built:            Thu Mar 24 01:46:14 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.5.11
  GitCommit:        3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc:
  Version:          1.0.3
  GitCommit:        v1.0.3-0-gf46b6ba
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Error: 0x800701bc WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel code example

 

This is the error received during docker startup

Solution:

Download and run msi package https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi