|
| 1 | +# IoT Smart Grid |
| 2 | +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. |
| 3 | + |
| 4 | +Note: This dockerfile is based on Buc Rogers' work that can be found [here] (https://github.com/brogersyh/Dockerfiles-for-windows/tree/master/sqlexpress) |
| 5 | + |
| 6 | +### Contents |
| 7 | + |
| 8 | +[About this sample](#about-this-sample)<br/> |
| 9 | +[Before you begin](#before-you-begin)<br/> |
| 10 | +[Run this sample](#run-this-sample)<br/> |
| 11 | +[Sample details](#sample-details)<br/> |
| 12 | +[Disclaimers](#disclaimers)<br/> |
| 13 | +[Related links](#related-links)<br/> |
| 14 | + |
| 15 | +<a name=about-this-sample></a> |
| 16 | + |
| 17 | +## About this sample |
| 18 | + |
| 19 | +1. **Applies to:** SQL Server 2014 Express, Windows Server Technical Preview 4 or later |
| 20 | +5. **Authors:** Perry Skountrianos [perrysk-msft] |
| 21 | + |
| 22 | +<a name=before-you-begin></a> |
| 23 | + |
| 24 | +## Before you begin |
| 25 | + |
| 26 | +To run this sample, you need the following prerequisites. |
| 27 | + |
| 28 | +**Software prerequisites:** |
| 29 | + |
| 30 | +1. System running Windows Server Technical Preview 4 or later. |
| 31 | +2. 10GB available storage for container host image, OS Base Image and setup scripts. |
| 32 | +3. Administrator permissions on the system. |
| 33 | + |
| 34 | +<a name=run-this-sample></a> |
| 35 | + |
| 36 | +## Run this sample |
| 37 | +Use the Dockerfile and execute the following two commands to build and run sqlexpress: |
| 38 | +1. docker build -t sqlexpress . |
| 39 | +2. docker run -it -p 1433:1433 sqlexpress cmd |
| 40 | + |
| 41 | +<a name=sample-details></a> |
| 42 | + |
| 43 | +## Sample details |
| 44 | + |
| 45 | +**High Level Description** |
| 46 | +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. |
| 47 | +- sa password: Password1 |
| 48 | +- Collation: SQL_Latin1_General_CP1_CI_AS |
| 49 | +- SQL Instance Name: SQLEXPRESS |
| 50 | +- Root Directory: C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL |
| 51 | +- Language: English (United Stated) |
| 52 | + |
| 53 | +<a name=disclaimers></a> |
| 54 | + |
| 55 | +## Disclaimers |
| 56 | +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. |
| 57 | + |
| 58 | +<a name=related-links></a> |
| 59 | + |
| 60 | +## Related Links |
| 61 | +<!-- Links to more articles. Remember to delete "en-us" from the link path. --> |
| 62 | + |
| 63 | +For more information, see these articles: |
| 64 | +- [Windows Containers] (https://msdn.microsoft.com/en-us/virtualization/windowscontainers/about/about_overview) |
| 65 | +- [Windows-based containers: Modern app development with enterprise-grade control] (https://www.youtube.com/watch?v=Ryx3o0rD5lY&feature=youtu.be) |
| 66 | +- [Windows Containers: What, Why and How] (https://channel9.msdn.com/Events/Build/2015/2-704) |
| 67 | +- [SQL Server in Windows Containers] (https://blogs.msdn.microsoft.com/sqlserverstorageengine/2016/03/21/sql-server-in-windows-containers/#comments) |
0 commit comments