每天都学一点

exoplatform/sqlserver

18 06月
作者:林健|分类:说明

SQL Server docker image by eXo Platform

This is a SQL Server image to easily build an SQL Server environment for test purposes with a dedicated database and user. It's build on top of the official Microsoft mssql image : https://hub.docker.com/r/microsoft/mssql-server-linux/

Versions

VersionMicrosoft base imageStatus
2017-CU8microsoft/mssql-server-linux:2017-CU-8Recommended
2017-CU7microsoft/mssql-server-linux:2017-CU-7Valid
2017-CU6microsoft/mssql-server-linux:2017-CU-6Valid
2017-CU5microsoft/mssql-server-linux:2017-CU-5Valid
2017-CU4microsoft/mssql-server-linux:2017-CU-4Valid
2017-CU3microsoft/mssql-server-linux:2017-CU-3Valid
2017-CU2microsoft/mssql-server-linux:2017-CU-2Valid
2017-CU1microsoft/mssql-server-linux:2017-CU-1Valid
2017-GAmicrosoft/mssql-server-linux:2017-GAValid
ctp-2-1microsoft/mssql-server-linux:ctp2-1Deprecated
ctp-2microsoft/mssql-server-linux:ctp2-0Deprecated

Running

docker run -d -e SA_PASSWORD=<passord> -e SQLSERVER_DATABASE=<db name> -e SQLSERVER_USER=<user> -e SQLSERVER_PASSWORD=<password> -p <local port>:1433 exoplatform/sqlserver:2017-CU8

:warning: For Docker4Mac and Docker4Windows users, your docker instance must have at least 3192Mo of memoryallocated.

Supported environment variables :

  • SA_PASSWORD : The password of the SA user

  • SQLSERVER_DATABASE : the database name to use

  • SQLSERVER_USER : the username to use. It will be the owner of the database

  • SQLSERVER_PASSWORD : the password of the username

:warning: All your password must match the MSSQL rule : at least 8 chars, with lower, upper and digits.

Ports :

  • 1433 : The database port

Volumes

The data is persisted on the directory /var/opt/mssql. Add the following option to persist your data on volume :

-v <your volume>:/var/opt/mssql


    浏览2 评论0
    返回
    目录
    返回
    首页
    nginx配置正向代理支持HTTPS VMWare esxi中开放 VNC功能及端口实现远程管理 完整篇

    发表评论