all InfoSec News
How to run SQL Server on M1/M2 with Docker
DEV Community dev.to
Pull the image by opening up a terminal and running the command
docker pull mcr.microsoft.com/azure-sql-edge`
docker run --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=your_strong_password' -p 1433:1433 --name azuresqledge -d -v sqlvolume:/var/opt/mssql mcr.microsoft.com/azure-sql-edge
–cap-add SYS_PTRACE – here is Microsoft’s note on this line: The --cap-add SYS_PTRACE flag is required for non-root SQL Server containers to generate dumps for troubleshooting purposes
-e ‘ACCEPT_EULA=1’ is an environment variable, which is saying that we will accept the End User License Agreement.
-e ‘MSSQL_SA_PASSWORD=your_strong_password’ …
azure cap com command docker edge flag image line m1 m2 microsoft mssql name non root run running server sql sql server terminal var