Starting with SQL Server 2017 (14.x), SQL Server runs on Linux. It's the same SQL Server Database Engine, with many similar features and services regardless of your operating system.
SQL Server 2019 (15.x) runs on Linux. It's the same SQL Server Database Engine, with many similar features and services regardless of your operating system. To find out more about this release, see What's new for SQL Server 2019 on Linux.
SQL Server 2022 (16.x) runs on Linux. It's the same SQL Server Database Engine, with many similar features and services regardless of your operating system. To find out more about this release, see What's new in SQL Server 2022 (16.x).
Install
To get started, install SQL Server on Linux using one of the following quickstarts:
The SQL Server container images are published and available on the Microsoft Container Registry (MCR), and also cataloged at the following locations, based on the operating system image that was used when creating the container image:
After installation, connect to the SQL Server instance on your Linux machine. You can connect locally or remotely and with various tools and drivers. The quickstarts demonstrate how to use the sqlcmd command-line tool. Other tools include the following:
Starting with SQL Server 2017 (14.x), SQL Server has the same underlying Database Engine on all supported platforms, including Linux and containers. Therefore, many existing features and capabilities operate the same way. This area of the documentation exposes some of these features from a Linux perspective. It also calls out areas that have unique requirements on Linux.
If you're already familiar with SQL Server on Linux, review the release notes for general guidelines and known issues for this release:
Did you know that you can edit SQL content yourself? If you do so, not only do you help improve our documentation, but you also get credited as a contributor to the page.
SQL Server now runs on your choice of operating system. In this learning path, you'll discover the fundamentals of SQL Server on Linux, before discovering how to run SQL Server on Linux containers and deploy SQL Server on Linux. You'll then learn how to automatically tune your SQL Server on Linux deployment.
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.