-
-
Save mcka1n/6ef2985f6f38a61f0e016f6f5d2f903a to your computer and use it in GitHub Desktop.
Run Microsoft Azure SQL Edge using docker compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.8' | |
| services: | |
| sql: | |
| image: mcr.microsoft.com/azure-sql-edge | |
| container_name: sql | |
| ports: | |
| - "1433:1433" | |
| environment: | |
| ACCEPT_EULA: "1" | |
| MSSQL_SA_PASSWORD: "MyStrongPass123" | |
| MSSQL_PID: "Developer" | |
| MSSQL_USER: "SA" | |
| # docker run -e "ACCEPT_EULA=1" -e "MSSQL_SA_PASSWORD=MyStrongPass123" -e "MSSQL_PID=Developer" -e "MSSQL_USER=SA" -p 1433:1433 -d --name=sql mcr.microsoft.com/azure-sql-edge | |
| # docker-compose up -d | |
| # docker-compose down -d |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems Docker dropped support on Apple Silicon for
azure-sql-edgewe need to switch to plainmssql/server2022: