1
0
mirror of https://github.com/Microsoft/sql-server-samples.git synced 2025-12-08 14:58:54 +00:00
Files
sql-server-samples/samples/manage/windows-containers/mssql-server-2014-express-windows/readme.md
Perry Skountrianos - MSFT 64766ffe2f Update readme.md
2016-06-09 09:59:25 -07:00

2.8 KiB

mssql-server-2014-express-windows

The goal of this Dockerfile is to help developers get started using SQL Server 2014 Express in Windows Containers. The Dockerfile downloads and installs SQL Server 2014 Express with the default setup parameters that could be changed (if needed) after the image is installed.

Note: This dockerfile is based on Buc Rogers' work that can be found [here] (https://github.com/brogersyh/Dockerfiles-for-windows/tree/master/sqlexpress)

Contents

About this sample
Before you begin
Run this sample
Sample details
Disclaimers
Related links

About this sample

  1. Applies to: SQL Server 2014 Express, Windows Server Technical Preview 4 or later
  2. Authors: Perry Skountrianos [perrysk-msft]

Before you begin

To run this sample, you need the following prerequisites.

Software prerequisites:

  1. System running Windows Server Technical Preview 4 or later.
  2. 10GB available storage for container host image, OS Base Image and setup scripts.
  3. Administrator permissions on the system.

Run this sample

Use the Dockerfile and execute the following two commands to build and run sqlexpress:

  1. docker build -t sqlexpress .
  2. docker run -it -p 1433:1433 sqlexpress cmd

Sample details

High Level Description The Dockerfile downloads and installs SQL Server 2014 Express with the following default setup parameters that could be changed (if needed) after the image is installed.

  • sa password: Password1
  • Collation: SQL_Latin1_General_CP1_CI_AS
  • SQL Instance Name: SQLEXPRESS
  • Root Directory: C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL
  • Language: English (United Stated)

Disclaimers

The code included in this sample is not intended to be a set of best practices on how to build scalable enterprise grade applications. This is beyond the scope of this quick start sample.

For more information, see these articles: