Error: Error initializing Docker client: protocol not available

I am attempting to go through the initial setup shown here:


and I have installed Docker-Desktop using choclatey. I opened Docker-Desktop and ran through the setup in that application. I also have used choclatey to install Terraform. When I get to the step to run terraform apply I get the following error:
Error: Error initializing Docker client: protocol not available

  on <empty> line 0:
  (source code not available)

I am lost on where to go from here. Can someone help? Thanks.

found a couple posts that reference this error, hyperlinked below. Here is the suggested work-around - add the following block to your main.tf:

provider "docker" {
  version = "~> 2.7"
  host    = "npipe:////.//pipe//docker_engine"
}

Reference links: