dotnet / aspire-samples

MIT License
652 stars 188 forks source link

[WebToolsE2E][Aspire] Running the AspireShop solution fails with error: "could not create the container..., container has failed to start...". #183

Closed v-sherryfan closed 6 months ago

v-sherryfan commented 6 months ago

REGRESSION INFO: Worked on Aspire 8.0.0-preview.4.24156.9

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.10 Preview 3 [ Includes Aspire 8.0.0-preview.5.24201.12 and SDK 8.0.300-preview.24203.14 ]
  3. Apply NuGet dotnet-tools Feed
  4. Install Docker Desktop for Windows

REPRO STEPS

  1. Clone aspire-samples repo
  2. Checkout the preview.5 branch
  3. Update sdk version to 8.0.300-preview.24203.14 in global.json
  4. Open samples\AspireShop.sln
  5. Build
  6. F5 / Ctrl+F5

ACTUAL

EXPECTED

The dashboard page displays normally without any exceptions when running the AspireShop solution.

davidfowl commented 6 months ago

Is your docker healthy? What happens if you manually pull the image?

v-sherryfan commented 6 months ago

@davidfowl Yeah, I thought my docker was unhealthy before, so I tried restarting my machine and couldn't get the error "Unable to find image..." but saw another error as shown below. image

balachir commented 6 months ago

@v-sherryfan if you created an Aspire Starter app with Redis, did that run successfully?

@davidfowl I'm not seeing this issue that Sherry ran into but I'm seeing a different issue - https://github.com/dotnet/aspire-samples/issues/185

v-sherryfan commented 6 months ago

Unable to reproduce on 17.10 Preview 3 [Includes Aspire 8.0.0-preview.5.24201.12] using aspire-samples main branch.