run-aspnetcore-microservices icon indicating copy to clipboard operation
run-aspnetcore-microservices copied to clipboard

Cannot complete the docker compose on windows

Open morbidod opened this issue 1 year ago • 1 comments

Here is the error: Step 8/17 : RUN dotnet restore "Services/Catalog/Catalog.API/Catalog.API.csproj" ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (windows/amd64) and no specific platform was requested ---> Running in bb777ca8a775 Determining projects to restore... Restored /src/BuildingBlocks/Common.Logging/Common.Logging.csproj (in 53.58 sec). Restored /src/Services/Catalog/Catalog.API/Catalog.API.csproj (in 57.46 sec). The command '/bin/sh -c dotnet restore "Services/Catalog/Catalog.API/Catalog.API.csproj"' returned a non-zero code: 4294967295: failed to shutdown container: container bb777ca8a775dd3fb8f2bec7e328dc231e527aa485fb8f91c3c75c3a192e7e85 encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: The virtual machine or container with the specified identifier is not running. (0xc0370110): subsequent terminate failed container bb777ca8a775dd3fb8f2bec7e328dc231e527aa485fb8f91c3c75c3a192e7e85 encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: The virtual machine or container with the specified identifier is not running. (0xc0370110) ERROR: Service 'catalog.api' failed to build : Build failed ERROR: Service 'catalog.api' failed to build : Build failed

morbidod avatar Feb 27 '24 06:02 morbidod

@morbidod did you change the docker file anymore? what is your Dockec Container OS?

armintodev avatar Mar 05 '24 19:03 armintodev