Understand-SQL-server-container

This blog re-examined the role that containers can play for SQL Server and compared Microsoft and Cloud Lock's support for SQL Server containers.

18 months ago, Microsoft announced plans to add Docker container support to Windows Server 2016. The statement underscores Microsoft's growing focus on Linux and open source tools. In the next few months. NET core is open source, Microsoft and Red Hat formed an alliance and announced plans to port SQL Server to Linux. Containers are just around the corner for the Windows community, so let's take a closer look at the use of SQL Server containers and how WinDocks and Microsoft containers compare.

Let's first look at the use of MySQL on Linux Docker containers. MySQL and Postgres are the most popular container images on Docker Hub. Roustabout. com). The database container is used to provide the same, isolated sandbox environment for development and testing. The data is contained in a container or can be loaded. The container is instantiated in a few seconds, and the shared virtual machine supports a team. The adoption of Docker is accelerating, and a RightScale survey shows that Docker will soon become the leading tool chain for DevOps, surpassing Chef and Puppet (RightScale's 2016 State of the Cloud Report).

The container contains several elements. Containers provide process and user isolation for applications, and are built with DockerFiles that specify the code, configuration, and data to be used. Once the build is complete, the container can be saved as an image, used to support teams with the same instance, and listed in a public or private repository or repo. Containers are designed for automation, which explains why Microsoft emphasizes the use of PowerShell for container operations.

The container is fast and light. You can create a SQL Server container in a few seconds because it does not need to start the operating system like a virtual machine. Compared with virtual machines, container hosts that share a common operating system can usually serve 3-5 times the workload!

Just as the Win32 application programming interface dominates the prospect of desktop applications, Docker is rapidly becoming the industry standard application programming interface for container management. Microsoft is implementing application programming interfaces for the Windows system and participating in formal standardization work through the Open Container Initiative. linuxfoundation. org). Docker-based systems will benefit from industry-wide support, including managed services on AWS, Azure and other clouds, as well as third-party tools built to facilitate Docker containers, including monitoring, logging, cluster orchestration, and others service.

Microsoft plans to implement support for Windows Server 2016 later this summer. Microsoft's design provides an option to support containers on Windows Server 2016 "Core" or a headless server named Nano. As of the publication date of this article, Microsoft has remained silent on plans to support SQL Server images, even though there is a SQL Server 2014 Express image on Dockerhub. In addition to using manual tools based on a graphical user interface, it is not clear how users should add and attach databases to the SQL Server container.

Editor's note, publish the document. Microsoft chose to promote their first SQL Server image at DockerCon, which is based on an unreleased port of SQL Server to Linux. This shows that Microsoft's SQL Server team has decided to focus on Linux to support future SQL Server containers (and only SQL Server 2016).

WinDocks is composed of former Microsoft engineers, they use Uhuru software's open-source container design to port the Docker engine to Windows. WinDocks was released earlier this year and supports Windows 8, Windows 10, and Windows Server 2012 and Windows Server 2016. WinDocks also supports 2008 (and r 2), 2012 and 2014 versions, and 2016 versions. WinDocks focuses on support for SQL Server containers, including DockerFile commands for adding and loading databases, and support for storage systems. WinDocks also provides a free community edition for download.

To access Microsoft and WinDocks downloads, please visit:

http://www .微软。com/en-us/eval center/evaluate-windows-server-technical-preview

http://www .风床。com/lps/communityedition

The growth in the use of MySQL and Docker containers in the development of the Mind real-time synchronization database , as well as the support of Microsoft, indicates that the SQL Server container will quickly become the mainstream. If you are ready to start, whether you are using Windows 8 or Windows 10, there are many options!

Guess you like

Origin blog.csdn.net/weixin_49470452/article/details/107506111