run-aspnetcore-microservices icon indicating copy to clipboard operation
run-aspnetcore-microservices copied to clipboard

Ordering Health Check fails on ARM64

Open odidev opened this issue 1 year ago • 6 comments

Hi @mehmetozkaya,

I have tried to deploy run-aspnetcore-microservices on ARM64 using docker-compose. In docker-compose.yml file, there is one service named OrderDB which is using mcr.microsoft.com/mssql/server:2017-latest docker image. This image is not present for ARM64. I have commented regarding the release of the image. In that comment, an user suggested to use azure-sql-edge docker image instead of mcr.microsoft.com/mssql/server:2017-latest. After replacing it with azure-sql-edge all the health-checks are working fine.

Can you please share your opinion on the above change?

odidev avatar Mar 29 '23 11:03 odidev

Hi @odidev, Yes I used SQL Server image which is amd64 architecture and ubuntu-based image. This is standard image for sql server on docker hub -> https://hub.docker.com/_/microsoft-mssql-server I am surprised to run this repo on ARM64 architecture. But your recommendation of azure-sql-edge database designed for IoT applications. It could be used and solve our microservices project requirement due to relational-based db, but I think Azure SQL DB also solve the ARM64 problem which is more suitable for this repository.

mehmetozkaya avatar Mar 29 '23 17:03 mehmetozkaya

Hi @mehmetozkaya,

To make this compatible for ARM64 platform, can we change mcr.microsoft.com/mssql/server:2017-latest docker image to azure-sql-edge.

If yes, let me know if I can raise PR for the same.

odidev avatar Mar 30 '23 11:03 odidev

Gentle reminder to respond to above query.

odidev avatar Jun 21 '23 11:06 odidev

Hi @mehmetozkaya,

Gentle reminder !!!

Can you please suggest if we can change mcr.microsoft.com/mssql/server:2017-latest docker image to azure-sql-edge, as mcr.microsoft.com/mssql/server:2017-latest is not available for Arm64.

odidev avatar Jul 03 '23 09:07 odidev

Hi @mehmetozkaya

Gentle reminder to respond to above query.

odidev avatar Aug 09 '23 04:08 odidev

Hi @odidev, As @mehmetozkaya advised to use 'mcr.microsoft.com/mssql/server:2017-latest' docker images for microservices project requirement due to relational-based db or you can also use Azure SQL DB. I resolved order.api db issue by replacing a data base of azure sql basic services

Thanks,

tutul2010 avatar Nov 27 '23 07:11 tutul2010