docker: error during connect: This error may indicate that the docker daemon is not running code example
Example 1: In the default daemon configuration on Windows , the docker client must be run elevated to connect.
docker-machine env --shell cmd default
Example 2: this error may indicate that the docker daemon is not running
Open powershell as admin and use : & 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon