Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
My log is...
PS C:__WORK__\docker\MyMicroservice> docker build -t mymicroservice .
Sending build context to Docker daemon 12.8kB
Step 1/10 : FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
7.0: Pulling from dotnet/sdk
09087aac643f: Pull complete
fce85a3c3900: Pull complete
13bf70821130: Pull complete
f97d7b4d40f4: Pull complete
3ca0d467e610: Pull complete
9f634f461cb6: Pull complete
b44834877f1a: Pull complete
5ffeb084e170: Pull complete
1e28448585ca: Pull complete
8cab036fa8e0: Pull complete
646acbbb1ca5: Pull complete
c6c414f720b1: Pull complete
76a18d3b0dc8: Pull complete
56d3ead6ec49: Pull complete
1d8026a02c59: Pull complete
d4e53ac60fb5: Pull complete
Digest: sha256:1015914ba9e3d3ab350f522aa446d17d7ee68190e431a25c0c11e678081327c7
Status: Downloaded newer image for mcr.microsoft.com/dotnet/sdk:7.0
---> 986124beeb07
Step 2/10 : WORKDIR /src
---> Running in 4b5c9a0cafd2
Removing intermediate container 4b5c9a0cafd2
---> 28c5bdcb7162
Step 3/10 : COPY MyMicroservice.csproj .
---> b6b541a5fe40
Step 4/10 : RUN dotnet restore
---> Running in 1af14728ddcd
hcs::CreateComputeSystem 1af14728ddcdd40c578f776318bea9f23d4446a96e3464a5257fff7ca6a47f6f: The virtual machine could not be started because a required feature is not installed.
Problem encountered on https://dotnet.microsoft.com/ko-kr/learn/aspnet/microservice-tutorial/docker-image Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
My log is...
PS C:__WORK__\docker\MyMicroservice> docker build -t mymicroservice . Sending build context to Docker daemon 12.8kB Step 1/10 : FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build 7.0: Pulling from dotnet/sdk 09087aac643f: Pull complete fce85a3c3900: Pull complete 13bf70821130: Pull complete f97d7b4d40f4: Pull complete 3ca0d467e610: Pull complete 9f634f461cb6: Pull complete b44834877f1a: Pull complete 5ffeb084e170: Pull complete 1e28448585ca: Pull complete 8cab036fa8e0: Pull complete 646acbbb1ca5: Pull complete c6c414f720b1: Pull complete 76a18d3b0dc8: Pull complete 56d3ead6ec49: Pull complete 1d8026a02c59: Pull complete d4e53ac60fb5: Pull complete Digest: sha256:1015914ba9e3d3ab350f522aa446d17d7ee68190e431a25c0c11e678081327c7 Status: Downloaded newer image for mcr.microsoft.com/dotnet/sdk:7.0 ---> 986124beeb07 Step 2/10 : WORKDIR /src ---> Running in 4b5c9a0cafd2 Removing intermediate container 4b5c9a0cafd2 ---> 28c5bdcb7162 Step 3/10 : COPY MyMicroservice.csproj . ---> b6b541a5fe40 Step 4/10 : RUN dotnet restore ---> Running in 1af14728ddcd hcs::CreateComputeSystem 1af14728ddcdd40c578f776318bea9f23d4446a96e3464a5257fff7ca6a47f6f: The virtual machine could not be started because a required feature is not installed.