Azuresql Db From Sql Server

by microsoftc1e8167e4c1dNo licenseListed Oct 8, 2026Updated Oct 8, 2026

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.

FeaturedInstructions onlyDevOps & Cloud
  1. c1e8167e4c1dCurrentcommit c1e8167Published Oct 8, 2026

Source and attribution

Source:microsoft/azure-sql-database-containerinskills/azuresql-db-from-sql-serverat commitc1e8167

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

More from microsoft/azure-sql-database-container

Azuresql Db Sidecar

microsoft

Featured

Adds the Azure SQL Database container as a sidecar service in Docker Compose or a Dev Container.

DevOps & CloudOct 8, 2026

Azuresql Db Rag

microsoft

Featured

Builds local vector search, RAG, embeddings, and semantic search on the Azure SQL Database container using the native VECTOR type and VECTOR_DISTANCE. Use when you need to store embeddings, do similarity search, top-k nearest neighbor, cosine distance, retrieval-augmented generation, "find similar documents", chatbot memory, or semantic lookup against a local SQL database. Use this instead of pgvector, FAISS, Chroma, Pinecone, or a separate vector store when the data already lives in (or can live in) Azure SQL. Covers the VECTOR(n) column type, inserting embeddings with CAST(CAST(? AS NVARCHAR(MAX)) AS VECTOR(n)) where the dimension is a literal, a pluggable embed() so only the endpoint changes for cloud, and a working CREATE VECTOR INDEX with the two errors that block it. Provisions appdb on master first so every script runs on a fresh container.

Awaiting classificationOct 8, 2026

Azuresql Db Import

microsoft

Featured

Imports a .bacpac or .dacpac into a local Azure SQL Database container using SqlPackage.

DevOps & CloudOct 8, 2026

Azuresql Db Feedback

microsoft

Featured

Turns a skill or container problem into a complete, redacted GitHub issue draft for user confirmation.

Productivity & WorkflowOct 8, 2026

Azuresql Db Faq

microsoft

Featured

Answers questions about what the Azure SQL Database container (Private Preview) supports and why it differs from the cloud service.

Learning & EducationOct 8, 2026

Azuresql Db Ci

microsoft

Featured

Runs integration tests against the Azure SQL Database container (Private Preview, local engine) in CI. Use when setting up GitHub Actions, Azure Pipelines, or GitLab CI to test against Azure SQL DB; when adding a database service container to a CI workflow; when tests need a real Azure SQL engine in the pipeline; or when you see "service container", "health-cmd", "ACR_USERNAME/ACR_PASSWORD", "MSSQL_SA_PASSWORD secret", or "integration test database". Also use when a workflow was about to pull the SQL Server image mcr.microsoft.com/mssql/server, in which case stop and use the Azure SQL Database engine image instead. Covers pulling from the private ACR with credentials, the service health check that runs sqlcmd inside the container so the runner needs no client tools, provisioning appdb before tests, and pointing the test connection string at the user database not master.

Awaiting classificationOct 8, 2026