microsoft / microsoft/aspire-samples
SQL Server startup failing on DatabaseContainers sample
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 345
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 30
Description
Visual Studio 2022 Community 17.12.0
Docker desktop version 4.35.1
When starting up the DatabaseContainers sample DatabaseContainers.AppHost, I get the following:
AppHost:
...
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-r93j77hv3c' 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-r93j77hv3c' is not running: exited"}
SqlServer Container:
/opt/mssql/bin/sqlservr: error while loading shared libraries: /lib/x86_64-linux-gnu/libnuma.so.1: invalid ELF header
Any ideas would be appreciated
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the DatabaseContainers sample and reproduce the failure using the reported Visual Studio, Docker Desktop, and SQL Server container setup. Read the AppHost and SQL Server container logs, especially the libnuma.so.1 invalid ELF header error. Done means the SQL Server container starts and the sample runs without the container reconciliation errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, sql
- Domain
- databases, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100