Skip to content

针对于docker 安装sql server 要求内存大于2g的用户 适用的脚本

Notifications You must be signed in to change notification settings

mingxiaoyu/tiny_mssql_server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tiny_mssql_server

针对于docker 安装sql server 要求内存大于2g的用户 适用的脚本

参考了https://www.cnblogs.com/biaogejiushibiao/p/9280841.html
麦齐的Microsoft SQL Server on Linux破解 2G内存限制方法
特别制作了Dockerfile 来破解docker 版本的sql server(要求内存大于2G要求)
步骤:
1、 docker build -t linux-sqlserver .
2、docker run -v /opt/docker/mssql:/var/opt/mssql -v /etc/localtime:/etc/localtime:ro -e TZ="Asia/Shanghai" -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=P@ssw0rd' -p 1433:1433 -d --name sqlserver linux-sqlserver

About

针对于docker 安装sql server 要求内存大于2g的用户 适用的脚本

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 63.4%
  • Python 36.6%