Just to make sure I removed as many variables as possible:
Brand new Surface Copilot+ laptop
Fresh install of Visual Studio 2022 Preview
Fresh install of Docker
WSL Updated
When starting up the DatabaseContainers sample DatabaseContainers.AppHost, I get the following:
info: Aspire.Hosting.DistributedApplication[0]
Aspire version: 8.0.1+a6e341ebbf956bbcec0dda304109815fcbae70c9
info: Aspire.Hosting.DistributedApplication[0]
Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
Application host directory is: C:\Users\kylee\source\github\aspire-samples\samples\DatabaseContainers\DatabaseContainers.AppHost
info: Aspire.Hosting.DistributedApplication[0]
Now listening on: https://localhost:17007
info: Aspire.Hosting.DistributedApplication[0]
Login to the dashboard at https://localhost:17007/login?t=8224af4215096bf04cb166595c08a39b
info: Aspire.Hosting.DistributedApplication[0]
Distributed application started. Press Ctrl+C to shut down.
fail: Aspire.Hosting.Dcp.dcpctrl.ContainerReconciler[0]
could not determine host address and port for container port {"Container": {"name":"sqlserver"}, "Reconciliation": 13, "error": "container '/sqlserver-20hgcs8' is not running: exited"}
fail: Aspire.Hosting.Dcp.dcpctrl.ContainerReconciler[0]
could not create Endpoint object {"Container": {"name":"sqlserver"}, "Reconciliation": 13, "ServiceName": "sqlserver", "Workload": "/sqlserver", "error": "container '/sqlserver-20hgcs8' is not running: exited"}
I'll continue poking around and update this issue if I run into the solution or a workaround but adding the issue here in case anyone else is searching for it.
Just to make sure I removed as many variables as possible:
When starting up the DatabaseContainers sample DatabaseContainers.AppHost, I get the following:
I'll continue poking around and update this issue if I run into the solution or a workaround but adding the issue here in case anyone else is searching for it.