this error may indicate that the docker daemon is not running windows code example
Example: 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