aspire-samples
aspire-samples copied to clipboard
Running the DatabaseContainers sample fails on startup of SQL Server.
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.
SQL Server does not work on Windows for ARM as yet.
Yeah, I have now found a few things that don't seem to be Windows ARM compatible just yet. I really like the performance of the Copilot+ machine but the compatibility gaps are making it a little frustrating for software development.
Thank you for getting back to me.