dotnet / website-feedback

This repo is for dot.net feedback including get started tutorial issues from the site.
MIT License
0 stars 1 forks source link

Error when creating docker image. #235

Closed aekkatiassurant closed 1 month ago

aekkatiassurant commented 1 month ago

URL

https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/docker-image

Operating system

windows

More information about your system

Windos 10 x64

Description

When using command "docker build -t mymicroservice ." - Getting error as - C:\MyMicroservice>docker build -t mymicroservice . ERROR: error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/_ping": open //./pipe/docker_engine: The system cannot find the file specified.

dotnet --info

.NET SDK: Version: 8.0.303 Commit: 29ab8e3268 Workload version: 8.0.300-manifests.34944930 MSBuild version: 17.10.4+10fbfbf2e

Runtime Environment: OS Name: Windows OS Version: 10.0.19045 OS Platform: Windows RID: win-x64 Base Path: C:\Program Files\dotnet\sdk\8.0.303\

.NET workloads installed: [android] Installation Source: VS 17.10.35122.118 Manifest Version: 34.0.95/8.0.100 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.android\34.0.95\WorkloadManifest.json Install Type: FileBased

[maui-windows] Installation Source: VS 17.10.35122.118 Manifest Version: 8.0.61/8.0.100 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maui\8.0.61\WorkloadManifest.json Install Type: FileBased

[maccatalyst] Installation Source: VS 17.10.35122.118 Manifest Version: 17.2.8053/8.0.100 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maccatalyst\17.2.8053\WorkloadManifest.json Install Type: FileBased

[ios] Installation Source: VS 17.10.35122.118 Manifest Version: 17.2.8053/8.0.100 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.ios\17.2.8053\WorkloadManifest.json

mairaw commented 1 month ago

Can you make sure Docker is running? Also, what does docker --version return?

github-actions[bot] commented 1 month ago

This issue is stale because there has been no response to a request for more information for 7 days.

github-actions[bot] commented 1 month ago

This issue was closed because there was no response to a request for more information for 10 days.