Merge pull request #768 from jagjag/master

ADD Microsoft sqlserver 2017
This commit is contained in:
Raúl Sánchez 2018-04-11 15:15:24 +02:00 committed by GitHub
commit 449e2b6944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 109 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# Microsoft Sqlserver 2017
Before you start, please read this first.
### ACCEPT_EULA
the container of this package will start with 'ACCEPT_EULA=Y' environment variable.
Which means you accepted the [EULA](https://go.microsoft.com/fwlink/?linkid=857698) from Microsoft.
By passing the value "Y" to the environment variable "ACCEPT_EULA", you are expressing that you have a valid and existing license for the edition and version of SQL Server that you intend to use. You also agree that your use of SQL Server software running in a Docker container image will be governed by the terms of your SQL Server license.
### MSSQL_PID
MSSQL_PID is the Product ID (PID) or Edition that the container will run with. Acceptable values:
* Developer : This will run the container using the Developer Edition (this is the default if no MSSQL_PID environment variable is supplied)
* Express : This will run the container using the Express Edition
* Standard : This will run the container using the Standard Edition
* Enterprise : This will run the container using the Enterprise Edition
* EnterpriseCore : This will run the container using the Enterprise Edition Core
For a complete list of environment variables that can be used, refer to the documentation here
[https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker](https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker).
### SA_PASSWORD
A strong system administrator (SA) password: At least 8 characters including uppercase, lowercase letters, base-10 digits and/or non-alphanumeric symbols.
### For more information
please check out here:
[https://hub.docker.com/r/microsoft/mssql-server-linux/](https://hub.docker.com/r/microsoft/mssql-server-linux/)
[https://github.com/Microsoft/mssql-docker](https://github.com/Microsoft/mssql-docker)

View File

@ -0,0 +1,18 @@
version: '2'
services:
mssql-linux:
image: microsoft/mssql-server-linux:2017-CU5
environment:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: ${mssql_password}
MSSQL_PID: ${mssql_pid}
stdin_open: true
volumes:
- mssqlvolume:/var/opt/mssql
tty: true
ports:
- ${mssql_port}:1433/tcp
volumes:
mssqlvolume:
driver: ${VOLUME_DRIVER}

View File

@ -0,0 +1,47 @@
version: '2'
.catalog:
name: MSSQLServer
version: 2017-CU5-rancher1
description: sqlserver
maintainer: "Jiang Jiang <kyukou@gmail.com>"
questions:
- variable: "mssql_pid"
label: "Mssql edition:"
description: |
Choose mssql edition to be run.
default: Developer
required: true
type: enum
options:
- Developer
- Express
- Standard
- Enterprise
- EnterpriseCore
- variable: "mssql_password"
type: "string"
required: true
label: "SA Password"
description: " At least 8 characters including uppercase, lowercase letters, base-10 digits and/or non-alphanumeric symbols."
default: <YourStrong!Passw0rd>
- variable: "mssql_port"
type: "string"
required: true
label: "mssql_port"
description: "connect to mssql by this port"
default: 1433
- variable: "VOLUME_DRIVER"
description: "The VOLUME driver to associate with this server"
label: "VOLUME Driver"
required: true
default: "local"
type: enum
options:
- local
- rancher-nfs
- rancher-efs
- rancher-ebs
services:
mssql-linux:
start_on_create: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

View File

@ -0,0 +1,6 @@
name: Microsoft Sqlserver
description: |
Microsoft sqlserver 2017 docker edition
version: 2017-CU5-rancher1
maintainer: "Jiang Jiang <kyukou@gmail.com>"
category: Databases