Skip to content

Instantly share code, notes, and snippets.

@pknowledge
Created February 26, 2024 16:36
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pknowledge/a80af3573d9f1bafef7c7f677b574a5f to your computer and use it in GitHub Desktop.
Save pknowledge/a80af3573d9f1bafef7c7f677b574a5f to your computer and use it in GitHub Desktop.
Run Microsoft Azure SQL Edge using docker compose
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment