Home:ALL Converter>Docker Client is not connecting to its docker daemon on window subsystem

Docker Client is not connecting to its docker daemon on window subsystem

Ask Time:2022-10-04T02:10:03         Author:keepmoving

Json Formatter

I am using WSL (Window Subsystem for Linux) 2 to install ubuntu and it works fine for me. Next tesk I want to install docker-ce on ubuntu subsystem so that I can do some docker testing. For that I am following this link. Followed exactly same step mentioned in article. But still my docker client is not connecting to its daemon.

https://medium.com/@sebagomez/installing-the-docker-client-on-ubuntus-windows-subsystem-for-linux-612b392a44c4

Please see the below image for more information.

enter image description here

Infact, when I am trying to see the status of docker service using following command then its says "Docker is not running". I explicitly tried to run it but same status.

sudo service docker status

can someone help me on this, what I am missing here. why my docker client is not able to connect its docker daemon?

Author:keepmoving,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/73939251/docker-client-is-not-connecting-to-its-docker-daemon-on-window-subsystem
yy