Unable run sql server on Apple M3 Max with podman 5.6.1 #27363
Unanswered
ashishsawant4u
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
It seems there is no aarch64 version available for mcr.microsoft.com/mssql/server:latest I also got a segmentation fault when trying to run the container image on Fedora CoreOS 43.20251019.1.0 with a macBook Pro (M1). Note, in the output there is the text I haven't tried it myself but I think you could use Rosetta when running x86_64 on a mac (M3) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to install sql server using 2 different ways but nothing worked
Approach 1 : using sql server image directly
podman run --arch amd64 -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=12345678' -p 1433:1433 --name sqlserverdb1 -d mcr.microsoft.com/mssql/server:latestwith this approach container does not start here is logs
SQL Server 2022 will run as non-root by default. This container is running as user mssql. To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216. /opt/mssql/bin/launch_sqlservr.sh: line 28: 9 Segmentation fault (core dumped) "$@"Approach 2 : installed ubuntu:22.04 and inside ubuntu i tried installed mssql but after installation sql server fails to start
below steps i followed
`podman run -dit --name ubuntu-sqlserver --platform linux/amd64 --memory=5g --systemd=always docker.io/library/ubuntu:22.04
podman exec -it ubuntu-sqlserver /bin/bash
apt-get update
apt-get install -y curl wget gnupg software-properties-common apt-transport-https ca-certificates
curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc
add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/22.04/mssql-server-2022.list)"
apt-get update
apt-get install -y mssql-server
/opt/mssql/bin/mssql-conf setup`
error
qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (core dumped) System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down Attempting to start the Microsoft SQL Server service failed.Beta Was this translation helpful? Give feedback.
All reactions