sqlserver

exoplatform/sqlserver Docker Image

自动构建

用于测试目的的SQL Server镜像,基于官方Microsoft SQL Server Linux镜像构建,可轻松创建包含专用数据库和用户的SQL Server环境。

28 次收藏下载次数: 0状态:自动构建维护者:exoplatform仓库类型:镜像最近更新:
下载命令
点击查看

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

bash
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 memory allocated.

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

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 sqlserver 镜像标签

docker pull docker.xuanyuan.run/exoplatform/sqlserver:<标签>

DockerHub 原生拉取命令

docker pull exoplatform/sqlserver:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告