window This error may indicate that the docker daemon is not running code example
Example 1: docker daemon is not running
Net stop com.docker.service
Net start com.docker.service
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