aspnetrun / run-aspnetcore-microservices

Microservices on .Net platforms which used ASP.NET Web API, Docker, RabbitMQ, MassTransit, Grpc, Yarp API Gateway, PostgreSQL, Redis, SQLite, SqlServer, Marten, Entity Framework Core, CQRS, MediatR, DDD, Vertical and Clean Architecture implementation with using latest features of .NET 8 and C# 12
https://www.udemy.com/course/microservices-architecture-and-implementation-on-dotnet/?couponCode=JUNE24
MIT License
2.53k stars 1.38k forks source link

Cannot complete the docker compose on windows #83

Open morbidod opened 4 months ago

morbidod commented 4 months ago

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

arminatwork commented 4 months ago

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