Azuresql DB From SQL Server

Migrates a local SQL Server setup to the Azure SQL Database container for Azure-faithful local development. Use when a project already uses mcr.microsoft.com/mssql/server, mssql/server, an sqlcmd plus SA password docker setup, a "SQL Server in docker" or "local mssql container", or a docker-compose with the mssql/server image; and use when the user asks for "SQL Server locally", "run mssql in Docker", "spin up a local SQL database", or "test against SQL Server" but actually wants the Azure SQL Database engine (EngineEdition 5). Detects the SQL Server image, rewrites it to the Azure SQL Database container, adds --platform on non-x64 hosts, keeps the SA login, flags SQL Server-only features (SQL Agent, FILESTREAM, full Service Broker, cross-server distributed transactions, Windows Auth), and re-points connection strings from master to a provisioned user database.

Microsoft b4a570c 4 files · 35.8 KB Updated 2.7k repo stars

File contents

microsoft/azure-sql-database-container/tree/main/skills/azuresql-db-from-sql-server commit b4a570cdf5

Frequently asked questions

npx skillmds@latest add microsoft/azuresql-db-from-sql-server