'docker problem occurring again and again by running docker build -t docker

I am trying to use Docker on a windows machine and I am a beginner in docker and I am getting this problem on running

docker build -t docker .

problem:

error during connect: This error may indicate that the docker daemon is not running.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=docker&target=&ulimits=null&version=1": open //./pipe/docker_engine: The system cannot find the file specified.

I watched many videos but still no good result



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source